1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/tools/networking/minissdpd/default.nix
Tobias Geerinckx-Rice 00b06e6d45 minissdpd: 1.4 -> 1.5
2016-01-13 19:16:14 +01:00

40 lines
1.2 KiB
Nix

{ stdenv, fetchurl, libnfnetlink }:
let
version = "1.5";
name = "minissdpd-${version}";
in stdenv.mkDerivation {
inherit name;
src = fetchurl {
sha256 = "03w9zg8i8bfjlr0haa08r823rfcff6lzm1ia875il7kkhnqkgmnz";
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
name = "${name}.tar.gz";
};
buildInputs = [ libnfnetlink ];
installFlags = [ "PREFIX=$(out)" "INSTALLPREFIX=$(out)" ];
enableParallelBuilding = true;
doCheck = true;
meta = with stdenv.lib; {
inherit version;
description = "Small daemon to speed up UPnP device discoveries";
longDescription = ''
MiniSSDPd receives NOTIFY packets and stores (caches) that information
for later use by UPnP Control Points on the machine. MiniSSDPd receives
M-SEARCH packets and answers on behalf of the UPnP devices running on
the machine. Software must be patched in order to take advantage of
MiniSSDPd, and MiniSSDPd must be started before any other UPnP program.
'';
homepage = http://miniupnp.free.fr/minissdpd.html;
downloadPage = http://miniupnp.free.fr/files/;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}