2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2018-04-19 18:54:09 +00:00
|
|
|
, libGL, libGLU, freeglut, libX11 }:
|
|
|
|
|
2021-07-14 15:10:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "twilight";
|
2021-07-14 15:10:11 +00:00
|
|
|
version = "unstable-2018-04-19";
|
2018-04-19 18:54:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tweakoz";
|
|
|
|
repo = "twilight";
|
|
|
|
rev = "43f21d15c2a8923c9d707bdf3789f480bfd4b36d";
|
|
|
|
sha256 = "0mmmi4jj8yd8wnah6kx5na782sjycszgzim33dfalr0ph361m4pz";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libGL libGLU freeglut libX11 ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 twilight $out/bin/twilight
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-04-19 18:54:09 +00:00
|
|
|
description = "Redo of IRIX twilight backdrop in old school OpenGL";
|
|
|
|
homepage = src.meta.homepage;
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2021-04-29 05:21:13 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-04-19 18:54:09 +00:00
|
|
|
};
|
|
|
|
}
|