miniupnpc: 1.9.20150430 -> 2.0.20161216
This commit is contained in:
parent
61785c5531
commit
9d30abf7b2
|
@ -1,23 +1,21 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
let version = "1.9.20150430"; in
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "miniupnpc-${version}";
|
name = "miniupnpc-${version}";
|
||||||
|
version = "2.0.20161216";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
|
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
|
||||||
sha256 = "0ivnvzla0l2pzmy8s0j8ss0fnpsii7z9scvyl4a13g9k911hgmvn";
|
sha256 = "0gpxva9jkjvqwawff5y51r6bmsmdhixl3i5bmzlqsqpwsq449q81";
|
||||||
name = "${name}.tar.gz";
|
};
|
||||||
};
|
|
||||||
|
|
||||||
patches = stdenv.lib.optional stdenv.isFreeBSD ./freebsd.patch;
|
patches = stdenv.lib.optional stdenv.isFreeBSD ./freebsd.patch;
|
||||||
|
|
||||||
doCheck = !stdenv.isFreeBSD;
|
doCheck = !stdenv.isFreeBSD;
|
||||||
|
|
||||||
installFlags = "PREFIX=$(out) INSTALLPREFIX=$(out)";
|
installFlags = "PREFIX=$(out) INSTALLPREFIX=$(out)";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit version;
|
|
||||||
homepage = http://miniupnp.free.fr/;
|
homepage = http://miniupnp.free.fr/;
|
||||||
description = "A client that implements the UPnP Internet Gateway Device (IGD) specification";
|
description = "A client that implements the UPnP Internet Gateway Device (IGD) specification";
|
||||||
platforms = with stdenv.lib.platforms; linux ++ freebsd;
|
platforms = with stdenv.lib.platforms; linux ++ freebsd;
|
||||||
|
|
Loading…
Reference in New Issue