mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 09:03:48 +00:00
c9b2f32c45
svn path=/nixpkgs/trunk/; revision=30553
24 lines
575 B
Nix
24 lines
575 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "miniupnpc-1.6";
|
|
|
|
src = fetchurl {
|
|
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
|
|
sha256 = "151rh46axl44y7bbflb43pnj52gvlfnkxfgrn2jvai5gwrbbgmmv";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|