2015-09-18 09:36:11 +02:00
|
|
|
{ stdenv, fetchurl, libnfnetlink }:
|
|
|
|
|
2016-01-25 20:08:34 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-09-18 09:36:11 +02:00
|
|
|
name = "minissdpd-${version}";
|
2016-03-23 13:45:43 +01:00
|
|
|
version = "1.5.20160301";
|
2015-09-18 09:36:11 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-03-23 13:45:43 +01:00
|
|
|
sha256 = "053icnb25jg2vvjxirkznks3ipbbdjxac278y19rk2w9cirgi9lv";
|
2015-09-18 09:36:11 +02:00
|
|
|
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
|
|
|
|
name = "${name}.tar.gz";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libnfnetlink ];
|
|
|
|
|
2015-11-26 18:44:44 +01:00
|
|
|
installFlags = [ "PREFIX=$(out)" "INSTALLPREFIX=$(out)" ];
|
2015-09-18 09:36:11 +02: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/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
|
|
|
};
|
|
|
|
}
|