forked from mirrors/nixpkgs
818263ce46
- set IPv6 Hop limit to 10 - fix HOST: header of event notifications in IPv6 - be more compliant on 64bit machines : ui4 in [0;2^32-1]
29 lines
740 B
Nix
29 lines
740 B
Nix
{ stdenv, fetchurl, iptables, libuuid, pkgconfig }:
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "miniupnpd-1.9.20160222";
|
|
|
|
src = fetchurl {
|
|
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
|
|
sha256 = "0q694dla4v36qsc0x50xqg2jjhwdi9pl7r2gl10yvhkahxqx1ng7";
|
|
name = "${name}.tar.gz";
|
|
};
|
|
|
|
buildInputs = [ iptables libuuid ];
|
|
nativeBuildInputs= [ pkgconfig ];
|
|
|
|
makefile = "Makefile.linux";
|
|
|
|
buildFlags = "miniupnpd genuuid";
|
|
|
|
installFlags = "PREFIX=$(out) INSTALLPREFIX=$(out)";
|
|
|
|
meta = {
|
|
homepage = http://miniupnp.free.fr/;
|
|
description = "A daemon that implements the UPnP Internet Gateway Device (IGD) specification";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|