nixpkgs/pkgs/tools/networking/miniupnpc/default.nix
Tobias Geerinckx-Rice 85ed1cc5ed miniupnpc: 1.9.{20150430 -> 20150730}
The miniupnpc(3) man page is (now?) installed by default,
no need to do so manually.

Let's try enabling the test "suite"; it is dirt-cheap.
2015-09-16 05:01:18 +02:00

22 lines
561 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "miniupnpc-1.9.20150730";
src = fetchurl {
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
sha256 = "0156hssql8iaziwba8ag7y39lchrgwcvlhck2d2qak1vznqzlr0x";
name = "${name}.tar.gz";
};
doCheck = true;
installFlags = "PREFIX=$(out) INSTALLPREFIX=$(out)";
meta = {
homepage = http://miniupnp.free.fr/;
description = "A client that implements the UPnP Internet Gateway Device (IGD) specification";
platforms = stdenv.lib.platforms.linux;
};
}