mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Added XaoS fractal viewer
svn path=/nixpkgs/trunk/; revision=14004
This commit is contained in:
parent
b47bdfc6f7
commit
97d0f21d03
32
pkgs/applications/graphics/xaos/default.nix
Normal file
32
pkgs/applications/graphics/xaos/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = a.lib.getAttr ["version"] "3.4" a;
|
||||
buildInputs = with a; [
|
||||
aalib gsl libpng libX11 xproto libXext xextproto
|
||||
libXt zlib gettext intltool perl
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://prdownloads.sourceforge.net/xaos/XaoS-${version}.tar.gz";
|
||||
sha256 = "004cdb0xv14shyixs79bf95s52s7aidr5bqfn9wb49gpasrsknrc";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
|
||||
|
||||
preConfigure = a.FullDepEntry (''
|
||||
sed -e s@/usr/@"$out/"@g -i configure $(find . -name 'Makefile*')
|
||||
ensureDir $out/share/locale
|
||||
'') ["doUnpack" "minInit" "defEnsureDir"];
|
||||
|
||||
name = "xaos-" + version;
|
||||
meta = {
|
||||
description = "XaoS - fractal viewer";
|
||||
};
|
||||
}
|
@ -8250,6 +8250,11 @@ let
|
||||
inherit (xlibs) libX11 xproto xextproto libXext libXrandr randrproto;
|
||||
};
|
||||
|
||||
xaos = builderDefsPackage (import ../applications/graphics/xaos) {
|
||||
inherit (xlibs) libXt libX11 libXext xextproto xproto;
|
||||
inherit gsl aalib zlib libpng intltool gettext perl;
|
||||
};
|
||||
|
||||
xara = import ../applications/graphics/xara {
|
||||
inherit fetchurl stdenv autoconf automake libtool gettext cvs wxGTK
|
||||
pkgconfig libxml2 zip libpng libjpeg shebangfix perl freetype;
|
||||
|
Loading…
Reference in New Issue
Block a user