nixpkgs/pkgs/misc/screensavers/electricsheep/default.nix
Eelco Dolstra 2d1bcbeacf * Electric Sheep, a screensaver.
svn path=/nixpkgs/trunk/; revision=15415
2009-04-30 17:41:19 +00:00

22 lines
623 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
ensureDir $out/control-center/screensavers
'';
meta = {
description = "Electric Sheep, a distributed screen saver for evolving artificial organisms";
homepage = http://electricsheep.org/;
};
}