Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub 2, libGL, libGLU, freeglut, libX11 }: 3 4stdenv.mkDerivation rec { 5 pname = "twilight"; 6 version = "unstable-2018-04-19"; 7 8 src = fetchFromGitHub { 9 owner = "tweakoz"; 10 repo = "twilight"; 11 rev = "43f21d15c2a8923c9d707bdf3789f480bfd4b36d"; 12 sha256 = "0mmmi4jj8yd8wnah6kx5na782sjycszgzim33dfalr0ph361m4pz"; 13 }; 14 15 buildInputs = [ libGL libGLU freeglut libX11 ]; 16 17 installPhase = '' 18 install -Dm755 twilight $out/bin/twilight 19 ''; 20 21 meta = with lib; { 22 description = "Redo of IRIX twilight backdrop in old school OpenGL"; 23 homepage = src.meta.homepage; 24 license = licenses.mit; 25 platforms = platforms.linux; 26 maintainers = with maintainers; [ ]; 27 }; 28}