mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
* Electric Sheep, a screensaver.
svn path=/nixpkgs/trunk/; revision=15415
This commit is contained in:
parent
7445bc765c
commit
2d1bcbeacf
22
pkgs/misc/screensavers/electricsheep/default.nix
Normal file
22
pkgs/misc/screensavers/electricsheep/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{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/;
|
||||
};
|
||||
}
|
|
@ -7421,6 +7421,10 @@ let
|
|||
inherit fetchurl stdenv perl zlib bzip2;
|
||||
};
|
||||
|
||||
electricsheep = import ../misc/screensavers/electricsheep {
|
||||
inherit fetchurl stdenv pkgconfig expat zlib libpng libjpeg xlibs;
|
||||
};
|
||||
|
||||
foldingathome = import ../misc/foldingathome {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue