2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libnfnetlink }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "minissdpd";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "1.6.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-9MLepqRy4KXMncotxMH8NrpVOOrPjXk4JSkyUXJVRr0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
url = "http://miniupnp.free.fr/files/download.php?file=${pname}-${version}.tar.gz";
|
|
|
|
name = "${pname}-${version}.tar.gz";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libnfnetlink ];
|
|
|
|
|
|
|
|
installFlags = [ "PREFIX=$(out)" "INSTALLPREFIX=$(out)" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00: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.
|
|
|
|
'';
|
|
|
|
homepage = "http://miniupnp.free.fr/minissdpd.html";
|
|
|
|
downloadPage = "http://miniupnp.free.fr/files/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|