Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
1.2 KiB
Nix
49 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
libnfnetlink,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "minissdpd";
|
|
version = "1.6.0";
|
|
|
|
src = fetchurl {
|
|
sha256 = "sha256-9MLepqRy4KXMncotxMH8NrpVOOrPjXk4JSkyUXJVRr0=";
|
|
url = "http://miniupnp.free.fr/files/download.php?file=${pname}-${version}.tar.gz";
|
|
name = "${pname}-${version}.tar.gz";
|
|
};
|
|
|
|
patches = [
|
|
./makefile-install-dir.patch
|
|
];
|
|
|
|
buildInputs = [ libnfnetlink ];
|
|
|
|
installFlags = [
|
|
"PREFIX=$(out)"
|
|
"INSTALLPREFIX=$(out)"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
meta = with 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;
|
|
mainProgram = "minissdpd";
|
|
};
|
|
}
|