mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
aff1f4ab94
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
28 lines
620 B
Nix
28 lines
620 B
Nix
{ stdenv, fetchurl, texinfo, allegro, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cgui-${version}";
|
|
version="2.0.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/cgui/${version}/${name}.tar.gz";
|
|
sha256 = "00kk4xaw68m44awy8zq4g5plx372swwccvzshn68a0a8f3f2wi4x";
|
|
};
|
|
|
|
buildInputs = [ texinfo allegro perl ];
|
|
|
|
configurePhase = ''
|
|
sh fix.sh unix
|
|
'';
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
makeFlags = [ "SYSTEM_DIR=$(out)" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A multiplatform basic GUI library";
|
|
maintainers = [ maintainers.raskin ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|