mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
ae02415ee8
due to github account removal/deletion and not other mean of contact.
31 lines
732 B
Nix
31 lines
732 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, libGL, libGLU, freeglut, libX11 }:
|
|
|
|
let
|
|
version = "2018-04-19";
|
|
in stdenv.mkDerivation rec {
|
|
pname = "twilight";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tweakoz";
|
|
repo = "twilight";
|
|
rev = "43f21d15c2a8923c9d707bdf3789f480bfd4b36d";
|
|
sha256 = "0mmmi4jj8yd8wnah6kx5na782sjycszgzim33dfalr0ph361m4pz";
|
|
};
|
|
|
|
buildInputs = [ libGL libGLU freeglut 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 = with maintainers; [ ];
|
|
};
|
|
}
|