mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
twilight: init at 2018-04-19
This commit is contained in:
parent
19bc90f911
commit
e8c936556d
2 changed files with 32 additions and 0 deletions
28
pkgs/tools/graphics/twilight/default.nix
Normal file
28
pkgs/tools/graphics/twilight/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchFromGitHub
|
||||
, libGL, libGLU, freeglut, libX11 }:
|
||||
|
||||
let
|
||||
version = "2018-04-19";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "twilight-${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 stdenv.lib; {
|
||||
description = "Redo of IRIX twilight backdrop in old school OpenGL";
|
||||
homepage = src.meta.homepage;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -5251,6 +5251,10 @@ with pkgs;
|
|||
|
||||
oysttyer = callPackage ../applications/networking/instant-messengers/oysttyer { };
|
||||
|
||||
twilight = callPackage ../tools/graphics/twilight/default.nix {
|
||||
libX11 = xorg.libX11;
|
||||
};
|
||||
|
||||
twitterBootstrap = callPackage ../development/web/twitter-bootstrap {};
|
||||
twitterBootstrap3 = callPackage ../development/web/twitter-bootstrap/v3.nix {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue