From 85ed1cc5edcb86e152ea9822fdc1de447c238f38 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 12 Aug 2015 12:23:30 +0200 Subject: [PATCH] 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. --- pkgs/tools/networking/miniupnpc/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/networking/miniupnpc/default.nix b/pkgs/tools/networking/miniupnpc/default.nix index 22f833f9bdb6..8e0890ea471c 100644 --- a/pkgs/tools/networking/miniupnpc/default.nix +++ b/pkgs/tools/networking/miniupnpc/default.nix @@ -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/;