nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 45 lines 752 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 texinfo, 6 allegro, 7 perl, 8 libX11, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "cgui"; 13 version = "2.1.0"; 14 15 src = fetchurl { 16 url = "mirror://sourceforge/project/cgui/${version}/${pname}-${version}.tar.gz"; 17 sha256 = "1pp1hvidpilq37skkmbgba4lvzi01rasy04y0cnas9ck0canv00s"; 18 }; 19 20 buildInputs = [ 21 texinfo 22 allegro 23 perl 24 libX11 25 ]; 26 27 configurePhase = '' 28 runHook preConfigure 29 30 sh fix.sh unix 31 32 runHook postConfigure 33 ''; 34 35 hardeningDisable = [ "format" ]; 36 37 makeFlags = [ "SYSTEM_DIR=$(out)" ]; 38 39 meta = { 40 description = "Multiplatform basic GUI library"; 41 maintainers = [ lib.maintainers.raskin ]; 42 platforms = lib.platforms.linux; 43 license = lib.licenses.free; 44 }; 45}