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