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
37
pkgs/applications/misc/pdf-quench/default.nix
Normal file
37
pkgs/applications/misc/pdf-quench/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, fetchFromGitHub, pkgs, python3, wrapGAppsHook}:
|
||||
|
||||
python3.pkgs.buildPythonApplication {
|
||||
pname = "pdf-quench";
|
||||
version = "1.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxerwang";
|
||||
repo = "pdf-quench";
|
||||
rev = "b72b3970b371026f9a7ebe6003581e8a63af98f6";
|
||||
sha256 = "1rp9rlwr6rarcsxygv5x2c5psgwl6r69k0lsgribgyyla9cf2m7n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wrapGAppsHook ];
|
||||
buildInputs = with pkgs; [
|
||||
gtk3
|
||||
gobject-introspection
|
||||
goocanvas2
|
||||
poppler_gi
|
||||
];
|
||||
propagatedBuildInputs = with python3.pkgs; [ pygobject3 pypdf2 ];
|
||||
|
||||
format = "other";
|
||||
doCheck = false;
|
||||
|
||||
installPhase = ''
|
||||
install -D -T -m 755 src/pdf_quench.py $out/bin/pdf-quench
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/linuxerwang/pdf-quench";
|
||||
description = "A visual tool for cropping pdf files";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ flokli ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue