depot/third_party/nixpkgs/pkgs/development/libraries/pupnp/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

34 lines
925 B
Nix

{ fetchFromGitHub, stdenv, autoreconfHook, pkg-config }:
stdenv.mkDerivation rec {
pname = "libupnp";
version = "1.12.0";
src = fetchFromGitHub {
owner = "mrjimenez";
repo = "pupnp";
rev = "release-${version}";
sha256 = "17jhbzx8khz5vbl0lhcipjzgg897p1k2lp5wcc3hiddcfyh05pdj";
};
outputs = [ "dev" "out" ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
hardeningDisable = [ "fortify" ];
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";
homepage = "http://pupnp.sourceforge.net/";
platforms = stdenv.lib.platforms.unix;
};
}