summary refs log tree commit diff
path: root/pkgs/applications/graphics/xaos/default.nix
blob: e80362c386b98208da2f8d16238728dcda42a620 (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
28
29
30
31
{ stdenv, fetchurl, aalib, gsl, libpng, libX11, xorgproto, libXext
, libXt, zlib, gettext, intltool, perl }:

stdenv.mkDerivation rec {
  pname = "xaos";
  version = "3.6";

  src = fetchurl {
    url = "mirror://sourceforge/xaos/${pname}-${version}.tar.gz";
    sha256 = "15cd1cx1dyygw6g2nhjqq3bsfdj8sj8m4va9n75i0f3ryww3x7wq";
  };

  hardeningDisable = [ "format" ];

  buildInputs = [
    aalib gsl libpng libX11 xorgproto libXext
    libXt zlib gettext intltool perl
  ];

  preConfigure = ''
    sed -e s@/usr/@"$out/"@g -i configure $(find . -name 'Makefile*')
    mkdir -p $out/share/locale
  '';

  meta = {
    homepage = http://xaos.sourceforge.net/;
    description = "Fractal viewer";
    license = stdenv.lib.licenses.gpl2Plus;
    platforms = [ "x86_64-linux" ];
  };
}