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

36 lines
1.2 KiB
Nix
Raw Normal View History

2015-09-18 07:36:11 +00:00
{ stdenv, fetchurl, libnfnetlink }:
stdenv.mkDerivation rec {
pname = "minissdpd";
version = "1.5.20180223";
2015-09-18 07:36:11 +00:00
src = fetchurl {
sha256 = "1c47h1zil04jnbxiaaci2rm8jij47zp5156v48hb6m87nh4l5adv";
url = "http://miniupnp.free.fr/files/download.php?file=${pname}-${version}.tar.gz";
name = "${pname}-${version}.tar.gz";
2015-09-18 07:36:11 +00:00
};
buildInputs = [ libnfnetlink ];
installFlags = [ "PREFIX=$(out)" "INSTALLPREFIX=$(out)" ];
2015-09-18 07:36:11 +00:00
enableParallelBuilding = true;
doCheck = true;
meta = with stdenv.lib; {
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/";
2015-09-18 07:36:11 +00:00
license = licenses.bsd3;
platforms = platforms.linux;
};
}