uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 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 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, libGL, libGLU, freeglut, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "twilight";
|
||||
version = "unstable-2018-04-19";
|
||||
|
||||
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; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue