nixpkgs/pkgs/misc/screensavers/electricsheep/default.nix
Vladimír Čunát 88c9f8b574 xlibs: replace occurrences by xorg
This seems to have been confusing people, using both xlibs and xorg, etc.
- Avoided renaming local (and different) xlibs binding in gcc*.
- Fixed cases where both xorg and xlibs were used.
Hopefully everything still works as before.
2015-09-15 12:54:34 +02:00

22 lines
626 B
Nix

{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/;
};
}