2020-04-02 16:27:38 +00:00
|
|
|
{ fetchFromGitHub, stdenv, autoreconfHook, pkg-config }:
|
2008-10-07 21:18:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libupnp";
|
2020-04-02 16:27:38 +00:00
|
|
|
version = "1.12.0";
|
2008-10-07 21:18:01 +00:00
|
|
|
|
2016-12-20 20:49:20 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mrjimenez";
|
|
|
|
repo = "pupnp";
|
|
|
|
rev = "release-${version}";
|
2020-04-02 16:27:38 +00:00
|
|
|
sha256 = "17jhbzx8khz5vbl0lhcipjzgg897p1k2lp5wcc3hiddcfyh05pdj";
|
2008-10-07 21:18:01 +00:00
|
|
|
};
|
2018-10-27 17:08:28 +00:00
|
|
|
outputs = [ "dev" "out" ];
|
2008-10-07 21:18:01 +00:00
|
|
|
|
2020-04-02 16:27:38 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2016-12-20 20:49:20 +00:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "fortify" ];
|
2015-12-23 01:59:47 +00:00
|
|
|
|
2008-10-07 21:18:01 +00: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 20:03:35 +00:00
|
|
|
homepage = http://pupnp.sourceforge.net/;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2008-10-07 21:18:01 +00:00
|
|
|
};
|
|
|
|
}
|