about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/cgui/default.nix
blob: da9d1122cc54af84e5587f99d964bd30932b4cfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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;
  };
}