Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
757 B
Nix
42 lines
757 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
libGL,
|
|
libGLU,
|
|
libglut,
|
|
libX11,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "twilight";
|
|
version = "unstable-2018-04-19";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tweakoz";
|
|
repo = "twilight";
|
|
rev = "43f21d15c2a8923c9d707bdf3789f480bfd4b36d";
|
|
sha256 = "0mmmi4jj8yd8wnah6kx5na782sjycszgzim33dfalr0ph361m4pz";
|
|
};
|
|
|
|
buildInputs = [
|
|
libGL
|
|
libGLU
|
|
libglut
|
|
libX11
|
|
];
|
|
|
|
installPhase = ''
|
|
install -Dm755 twilight $out/bin/twilight
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Redo of IRIX twilight backdrop in old school OpenGL";
|
|
homepage = src.meta.homepage;
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = [ ];
|
|
mainProgram = "twilight";
|
|
};
|
|
}
|