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
40
pkgs/tools/X11/arandr/default.nix
Normal file
40
pkgs/tools/X11/arandr/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib, fetchurl, python3Packages
|
||||
, gobject-introspection, gsettings-desktop-schemas, gtk3
|
||||
, wrapGAppsHook, xrandr
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (python3Packages) buildPythonApplication docutils pygobject3;
|
||||
pname = "arandr";
|
||||
version = "0.1.10";
|
||||
name = "${pname}-${version}";
|
||||
in buildPythonApplication rec {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://christian.amsuess.com/tools/arandr/files/${name}.tar.gz";
|
||||
sha256 = "135q0llvm077jil2fr92ssw3p095m4r8jfj0lc5rr3m71n4srj6v";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
rm -rf data/po/*
|
||||
'';
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
# hook for gobject-introspection doesn't like strictDeps
|
||||
# https://github.com/NixOS/nixpkgs/issues/56943
|
||||
strictDeps = false;
|
||||
|
||||
buildInputs = [ docutils gsettings-desktop-schemas gtk3 ];
|
||||
nativeBuildInputs = [ gobject-introspection wrapGAppsHook ];
|
||||
propagatedBuildInputs = [ xrandr pygobject3 ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://christian.amsuess.com/tools/arandr/";
|
||||
description = "A simple visual front end for XRandR";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.domenkozar ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue