1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/development/libraries/gdome2/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

30 lines
763 B
Nix

{stdenv, fetchurl, pkgconfig, glib, libxml2, gtkdoc}:
let
pname = "gdome2";
version = "0.8.1";
in
stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl {
url = "http://gdome2.cs.unibo.it/tarball/${pname}-${version}.tar.gz";
sha256 = "0hyms5s3hziajp3qbwdwqjc2xcyhb783damqg8wxjpwfxyi81fzl";
};
hardeningDisable = [ "format" ];
buildInputs = [pkgconfig glib libxml2 gtkdoc];
propagatedBuildInputs = [glib libxml2];
patches = [ ./xml-document.patch ];
meta = with stdenv.lib; {
homepage = http://gdome2.cs.unibo.it/;
description = "DOM C library developed for the Gnome project";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ prikhi roconnor ];
platforms = platforms.linux;
};
}