nixpkgs/pkgs/tools/networking/miniupnpc/default.nix

22 lines
561 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "miniupnpc-1.9.20150730";
src = fetchurl {
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
sha256 = "0156hssql8iaziwba8ag7y39lchrgwcvlhck2d2qak1vznqzlr0x";
2015-05-16 18:34:17 +00:00
name = "${name}.tar.gz";
};
doCheck = true;
installFlags = "PREFIX=$(out) INSTALLPREFIX=$(out)";
meta = {
homepage = http://miniupnp.free.fr/;
description = "A client that implements the UPnP Internet Gateway Device (IGD) specification";
2015-05-16 18:34:17 +00:00
platforms = stdenv.lib.platforms.linux;
};
}