nixpkgs/pkgs/tools/networking/miniupnpc/default.nix
Russell O'Connor aaa09472bc Update bitcoin to 0.3.21
svn path=/nixpkgs/trunk/; revision=27275
2011-05-17 11:34:18 +00:00

24 lines
575 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "miniupnpc-1.5";
src = fetchurl {
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
sha256 = "0mx950lfxcjpsfny8qcjx6phb74v4zw1rlj99xicd4icx5j0w3s4";
};
installFlags = "PREFIX=$(out) INSTALLPREFIX=$(out)";
postInstall =
''
ensureDir $out/share/man/man3
cp man3/miniupnpc.3 $out/share/man/man3/
'';
meta = {
homepage = http://miniupnp.free.fr/;
description = "A client that implements the UPnP Internet Gateway Device (IGD) specification";
};
}