2020-04-02 17:27:38 +01:00
|
|
|
{ fetchFromGitHub, stdenv, autoreconfHook, pkg-config }:
|
2008-10-07 22:18:01 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libupnp";
|
2020-04-02 17:27:38 +01:00
|
|
|
version = "1.12.0";
|
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}";
|
2020-04-02 17:27:38 +01:00
|
|
|
sha256 = "17jhbzx8khz5vbl0lhcipjzgg897p1k2lp5wcc3hiddcfyh05pdj";
|
2008-10-07 22:18:01 +01:00
|
|
|
};
|
2018-10-27 18:08:28 +01:00
|
|
|
outputs = [ "dev" "out" ];
|
2008-10-07 22:18:01 +01:00
|
|
|
|
2020-04-02 17:27:38 +01: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 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";
|
|
|
|
|
2020-04-01 02:11:51 +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
|
|
|
};
|
|
|
|
}
|