2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, libnfnetlink }:
|
2015-09-18 08:36:11 +01:00
|
|
|
|
2016-01-25 19:08:34 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "minissdpd";
|
2018-03-17 06:17:11 +00:00
|
|
|
version = "1.5.20180223";
|
2015-09-18 08:36:11 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-17 06:17:11 +00:00
|
|
|
sha256 = "1c47h1zil04jnbxiaaci2rm8jij47zp5156v48hb6m87nh4l5adv";
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://miniupnp.free.fr/files/download.php?file=${pname}-${version}.tar.gz";
|
|
|
|
name = "${pname}-${version}.tar.gz";
|
2015-09-18 08:36:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libnfnetlink ];
|
|
|
|
|
2015-11-26 17:44:44 +00:00
|
|
|
installFlags = [ "PREFIX=$(out)" "INSTALLPREFIX=$(out)" ];
|
2015-09-18 08:36:11 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-09-18 08:36:11 +01:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://miniupnp.free.fr/minissdpd.html";
|
|
|
|
downloadPage = "http://miniupnp.free.fr/files/";
|
2015-09-18 08:36:11 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|