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
29
pkgs/applications/misc/xrandr-invert-colors/default.nix
Normal file
29
pkgs/applications/misc/xrandr-invert-colors/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, libXrandr}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xrandr-invert-colors";
|
||||
version = "0.02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zoltanp";
|
||||
repo = "xrandr-invert-colors";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-MIbHNJFDQsvjPUbperTKKbHY5GSgItvRyV5OsfpzYT4=";
|
||||
};
|
||||
|
||||
buildInputs = [ libXrandr ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv xrandr-invert-colors.bin xrandr-invert-colors
|
||||
install xrandr-invert-colors $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Inverts the colors of your screen";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
homepage = "https://github.com/zoltanp/xrandr-invert-colors";
|
||||
maintainers = [lib.maintainers.magnetophon ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue