mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
32 lines
784 B
Nix
32 lines
784 B
Nix
{ stdenv, fetchurl, aalib, gsl, libpng, libX11, xorgproto, libXext
|
|
, libXt, zlib, gettext, intltool, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xaos";
|
|
version = "3.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/xaos/${pname}-${version}.tar.gz";
|
|
sha256 = "15cd1cx1dyygw6g2nhjqq3bsfdj8sj8m4va9n75i0f3ryww3x7wq";
|
|
};
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
buildInputs = [
|
|
aalib gsl libpng libX11 xorgproto libXext
|
|
libXt zlib gettext intltool perl
|
|
];
|
|
|
|
preConfigure = ''
|
|
sed -e s@/usr/@"$out/"@g -i configure $(find . -name 'Makefile*')
|
|
mkdir -p $out/share/locale
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://xaos.sourceforge.net/;
|
|
description = "Fractal viewer";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|