3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/xaos/default.nix

32 lines
784 B
Nix
Raw Normal View History

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