mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
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.
This commit is contained in:
parent
bab211893b
commit
85ed1cc5ed
@ -1,21 +1,17 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "miniupnpc-1.9.20150430";
|
||||
name = "miniupnpc-1.9.20150730";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
|
||||
sha256 = "0ivnvzla0l2pzmy8s0j8ss0fnpsii7z9scvyl4a13g9k911hgmvn";
|
||||
sha256 = "0156hssql8iaziwba8ag7y39lchrgwcvlhck2d2qak1vznqzlr0x";
|
||||
name = "${name}.tar.gz";
|
||||
};
|
||||
|
||||
installFlags = "PREFIX=$(out) INSTALLPREFIX=$(out)";
|
||||
doCheck = true;
|
||||
|
||||
postInstall =
|
||||
''
|
||||
mkdir -p $out/share/man/man3
|
||||
cp man3/miniupnpc.3 $out/share/man/man3/
|
||||
'';
|
||||
installFlags = "PREFIX=$(out) INSTALLPREFIX=$(out)";
|
||||
|
||||
meta = {
|
||||
homepage = http://miniupnp.free.fr/;
|
||||
|
Loading…
Reference in New Issue
Block a user