nixpkgs/pkgs/misc/screensavers/electricsheep/default.nix

23 lines
626 B
Nix
Raw Normal View History

{stdenv, fetchurl, pkgconfig, expat, zlib, libpng, libjpeg, xorg}:
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 xorg.xlibsWrapper xorg.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/;
};
}