2016-12-20 20:49:20 +00:00
|
|
|
{ fetchFromGitHub, stdenv, autoconf, automake, libtool }:
|
2008-10-07 22:18:01 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-12-20 20:49:20 +00:00
|
|
|
name = "libupnp-${version}";
|
|
|
|
version = "1.6.20";
|
2008-10-07 22:18:01 +01:00
|
|
|
|
2016-12-20 20:49:20 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mrjimenez";
|
|
|
|
repo = "pupnp";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "10583dkz1l5sjp2833smql8w428x2nbh1fni8j6h9rji6ma2yhs0";
|
2008-10-07 22:18:01 +01:00
|
|
|
};
|
|
|
|
|
2016-12-20 20:49:20 +00:00
|
|
|
buildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
libtool
|
|
|
|
];
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "fortify" ];
|
2015-12-23 01:59:47 +00:00
|
|
|
|
2016-12-20 20:49:20 +00:00
|
|
|
preConfigure = ''
|
|
|
|
./bootstrap
|
|
|
|
'';
|
|
|
|
|
2008-10-07 22:18:01 +01:00
|
|
|
meta = {
|
|
|
|
description = "libupnp, an open source UPnP development kit for Linux";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
The Linux SDK for UPnP Devices (libupnp) provides developers
|
|
|
|
with an API and open source code for building control points,
|
|
|
|
devices, and bridges that are compliant with Version 1.0 of the
|
|
|
|
UPnP Device Architecture Specification.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
|
2008-10-08 21:03:35 +01:00
|
|
|
homepage = http://pupnp.sourceforge.net/;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2008-10-07 22:18:01 +01:00
|
|
|
};
|
|
|
|
}
|