nixpkgs/pkgs/development/libraries/pupnp/default.nix
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00

27 lines
718 B
Nix

{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
name = "libupnp-1.6.19";
src = fetchurl {
url = "mirror://sourceforge/pupnp/${name}.tar.bz2";
sha256 = "0amjv4lypvclmi4vim2qdyw5xa6v4x50zjgf682vahqjc0wjn55k";
};
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/;
};
}