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/graphics/krop/default.nix
Normal file
51
pkgs/applications/graphics/krop/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib, fetchFromGitHub, python3Packages, libsForQt5, ghostscript, qt5}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "krop";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "arminstraub";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1ygzc7vlwszqmsd3v1dsqp1dpsn6inx7g8gck63alvf88dbn8m3s";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pyqt5
|
||||
pypdf2
|
||||
poppler-qt5
|
||||
ghostscript
|
||||
];
|
||||
buildInputs = [
|
||||
libsForQt5.poppler
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
||||
makeWrapperArgs = [
|
||||
"\${qtWrapperArgs[@]}"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -m666 -Dt $out/share/applications krop.desktop
|
||||
'';
|
||||
|
||||
# Disable checks because of interference with older Qt versions // xcb
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "http://arminstraub.com/software/krop";
|
||||
description = "Graphical tool to crop the pages of PDF files";
|
||||
longDescription = ''
|
||||
Krop is a tool that allows you to optimise your PDF files, and remove
|
||||
sections of the page you do not want. A unique feature of krop, at least to my
|
||||
knowledge, is its ability to automatically split pages into subpages to fit the
|
||||
limited screensize of devices such as eReaders. This is particularly useful, if
|
||||
your eReader does not support convenient scrolling. Krop also has a command line
|
||||
interface.
|
||||
'';
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ leenaars ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue