2014-07-28 09:43:20 +00:00
|
|
|
a :
|
|
|
|
let
|
2009-02-08 14:17:05 +00:00
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2014-07-28 09:43:20 +00:00
|
|
|
version = a.lib.attrByPath ["version"] "3.6" a;
|
2009-02-08 14:17:05 +00:00
|
|
|
buildInputs = with a; [
|
2014-07-28 09:43:20 +00:00
|
|
|
aalib gsl libpng libX11 xproto libXext xextproto
|
2009-02-08 14:17:05 +00:00
|
|
|
libXt zlib gettext intltool perl
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
2009-12-24 17:02:44 +00:00
|
|
|
url = "mirror://sourceforge/xaos/xaos-${version}.tar.gz";
|
2013-12-15 23:11:51 +00:00
|
|
|
sha256 = "15cd1cx1dyygw6g2nhjqq3bsfdj8sj8m4va9n75i0f3ryww3x7wq";
|
2009-02-08 14:17:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
|
|
|
|
|
2009-05-19 23:25:58 +00:00
|
|
|
preConfigure = a.fullDepEntry (''
|
2009-02-08 14:17:05 +00:00
|
|
|
sed -e s@/usr/@"$out/"@g -i configure $(find . -name 'Makefile*')
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/share/locale
|
2009-02-08 14:17:05 +00:00
|
|
|
'') ["doUnpack" "minInit" "defEnsureDir"];
|
2014-07-28 09:43:20 +00:00
|
|
|
|
2009-02-08 14:17:05 +00:00
|
|
|
name = "xaos-" + version;
|
|
|
|
meta = {
|
2009-12-24 17:02:44 +00:00
|
|
|
homepage = http://xaos.sourceforge.net/;
|
2009-02-08 14:17:05 +00:00
|
|
|
description = "XaoS - fractal viewer";
|
2014-07-28 09:43:20 +00:00
|
|
|
license = a.stdenv.lib.licenses.gpl2Plus;
|
2009-02-08 14:17:05 +00:00
|
|
|
};
|
|
|
|
}
|