3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/screensavers/electricsheep/default.nix
Martin Weinelt 7bd65d54f7 treewide: remove nand0p as maintainer
While looking at the sphinx package I noticed it was heavily
undermaintained, which is when we noticed nand0p has been inactive for
roughly 18 months. It is therefore prudent to assume they will not be
maintaining their packages, modules and tests.

- Their last contribution to nixpkgs was in 2019/12
- On 2021/05/08 I wrote them an email to the address listed in the
  maintainer-list, which they didn't reply to.
2021-05-17 01:50:49 +02:00

48 lines
1.2 KiB
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, ffmpeg, lua5_1, curl
, libpng, xorg, pkg-config, flam3, libgtop, boost, tinyxml, freeglut, libGLU, libGL
, glee }:
stdenv.mkDerivation rec {
pname = "electricsheep";
version = "3.0.2-2019-10-05";
src = fetchFromGitHub {
owner = "scottdraves";
repo = pname;
rev = "37ba0fd692d6581f8fe009ed11c9650cd8174123";
sha256 = "1z49l53j1lhk7ahdy96lm9r0pklwpf2i5s6y2l2rn6l4z8dxkjmk";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [
wxGTK30 ffmpeg lua5_1 curl libpng xorg.libXrender
flam3 libgtop boost tinyxml freeglut libGLU libGL glee
];
preAutoreconf = ''
cd client_generic
sed -i '/ACX_PTHREAD/d' configure.ac
'';
configureFlags = [
"CPPFLAGS=-I${glee}/include/GL"
];
makeFlags = [
''CXXFLAGS+="-DGL_GLEXT_PROTOTYPES"''
];
preBuild = ''
sed -i "s|/usr|$out|" Makefile
'';
meta = with lib; {
description = "Electric Sheep, a distributed screen saver for evolving artificial organisms";
homepage = "https://electricsheep.org/";
maintainers = with maintainers; [ fpletz ];
platforms = platforms.linux;
license = licenses.gpl1;
};
}