nixpkgs-suyu/pkgs/misc/screensavers/electricsheep/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

22 lines
622 B
Nix

{stdenv, fetchurl, pkgconfig, expat, zlib, libpng, libjpeg, xlibs}:
stdenv.mkDerivation rec {
name = "electricsheep-2.6.8";
src = fetchurl {
url = "http://electricsheep.org/${name}.tar.gz";
sha256 = "1flqcqfs75wg74hr5w85n6w8b26l4qrpwzi7fzylnry67yzf94y5";
};
buildInputs = [pkgconfig expat zlib libpng libjpeg xlibs.xlibs xlibs.libXv];
preInstall = ''
installFlags=GNOME_DATADIR=$out
mkdir -p $out/control-center/screensavers
'';
meta = {
description = "Electric Sheep, a distributed screen saver for evolving artificial organisms";
homepage = http://electricsheep.org/;
};
}