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
51
pkgs/applications/misc/pdfarranger/default.nix
Normal file
51
pkgs/applications/misc/pdfarranger/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ fetchFromGitHub, lib
|
||||
, wrapGAppsHook, intltool
|
||||
, python3Packages, gtk3, poppler_gi
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "pdfarranger";
|
||||
version = "1.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "18bpnnwjx72d5ps06dr89mkixiwzc9hf5gr75k8qcnrkshl038v2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook intltool
|
||||
] ++ (with python3Packages; [
|
||||
setuptools distutils_extra
|
||||
]);
|
||||
|
||||
buildInputs = [
|
||||
gtk3 poppler_gi
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pygobject3
|
||||
pikepdf
|
||||
img2pdf
|
||||
setuptools
|
||||
python-dateutil
|
||||
];
|
||||
|
||||
# incompatible with wrapGAppsHook
|
||||
strictDeps = false;
|
||||
dontWrapGApps = true;
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
doCheck = false; # no tests
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Merge or split pdf documents and rotate, crop and rearrange their pages using an interactive and intuitive graphical interface";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ symphorien ];
|
||||
license = licenses.gpl3Plus;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue