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