7 stdenv.mkDerivation rec {
11 outputs = [ "out" "dev" ];
13 src = fetchFromGitHub {
16 rev = "release-${version}";
17 sha256 = "sha256-LZFCfYz6MKMt0IDH22EbcmTRUXrrhQMaSjqAZH28nIQ=";
25 # Wrong paths in pkg-config file generated by CMake
26 # https://github.com/pupnp/pupnp/pull/205/files#r588946478
27 substituteInPlace CMakeLists.txt \
28 --replace '\''${exec_prefix}/' "" \
29 --replace '\''${prefix}/' ""
33 description = "An open source UPnP development kit for Linux";
36 The Linux SDK for UPnP Devices (libupnp) provides developers
37 with an API and open source code for building control points,
38 devices, and bridges that are compliant with Version 1.0 of the
39 UPnP Device Architecture Specification.
42 license = lib.licenses.bsd3;
44 homepage = "https://pupnp.github.io/pupnp/";
45 platforms = lib.platforms.unix;