2011-05-17 13:34:18 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2015-09-23 12:05:31 +02:00
|
|
|
let version = "1.9.20150430"; in
|
2011-05-17 13:34:18 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2015-09-23 12:05:31 +02:00
|
|
|
name = "miniupnpc-${version}";
|
2011-05-17 13:34:18 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
|
2015-09-23 12:05:31 +02:00
|
|
|
sha256 = "0ivnvzla0l2pzmy8s0j8ss0fnpsii7z9scvyl4a13g9k911hgmvn";
|
2015-05-16 20:34:17 +02:00
|
|
|
name = "${name}.tar.gz";
|
2011-05-17 13:34:18 +02:00
|
|
|
};
|
|
|
|
|
2015-08-12 12:23:30 +02:00
|
|
|
doCheck = true;
|
2011-05-17 13:34:18 +02:00
|
|
|
|
2015-08-12 12:23:30 +02:00
|
|
|
installFlags = "PREFIX=$(out) INSTALLPREFIX=$(out)";
|
2011-05-17 13:34:18 +02:00
|
|
|
|
|
|
|
meta = {
|
2015-09-23 12:05:31 +02:00
|
|
|
inherit version;
|
2011-05-17 13:34:18 +02:00
|
|
|
homepage = http://miniupnp.free.fr/;
|
|
|
|
description = "A client that implements the UPnP Internet Gateway Device (IGD) specification";
|
2015-05-16 20:34:17 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-05-17 13:34:18 +02:00
|
|
|
};
|
|
|
|
}
|