nixpkgs/pkgs/applications/graphics/xaos/default.nix

29 lines
725 B
Nix
Raw Normal View History

2015-06-17 00:50:55 +02:00
{ stdenv, fetchurl, aalib, gsl, libpng, libX11, xproto, libXext
, xextproto, libXt, zlib, gettext, intltool, perl }:
stdenv.mkDerivation rec {
name = "xaos-${version}";
version = "3.6";
src = fetchurl {
2015-06-17 00:50:55 +02:00
url = "mirror://sourceforge/xaos/${name}.tar.gz";
2013-12-16 00:11:51 +01:00
sha256 = "15cd1cx1dyygw6g2nhjqq3bsfdj8sj8m4va9n75i0f3ryww3x7wq";
};
2015-06-17 00:50:55 +02:00
buildInputs = [
aalib gsl libpng libX11 xproto libXext xextproto
libXt zlib gettext intltool perl
];
2015-06-17 00:50:55 +02:00
preConfigure = ''
sed -e s@/usr/@"$out/"@g -i configure $(find . -name 'Makefile*')
mkdir -p $out/share/locale
2015-06-17 00:50:55 +02:00
'';
2014-07-28 11:43:20 +02:00
meta = {
homepage = http://xaos.sourceforge.net/;
description = "Fractal viewer";
2015-06-17 00:50:55 +02:00
license = stdenv.lib.licenses.gpl2Plus;
};
}