forked from mirrors/nixpkgs
img2pdf init at 0.3.1 (#44833)
* img2pdf: init at 0.3.1 * img2pdf: take buildPythonApplication and fetchPypi from python3Packages
This commit is contained in:
parent
3dbdc64abd
commit
fad7857438
27
pkgs/applications/misc/img2pdf/default.nix
Normal file
27
pkgs/applications/misc/img2pdf/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, python3Packages }:
|
||||
|
||||
with python3Packages;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "img2pdf";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "071s3gf28nb8ifxkix7dzjny6vib7791mnp0v3f4zagcjcic22a4";
|
||||
};
|
||||
|
||||
doCheck = false; # needs pdfrw
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pillow
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Convert images to PDF via direct JPEG inclusion";
|
||||
homepage = https://gitlab.mister-muffin.de/josch/img2pdf;
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.veprbl ];
|
||||
};
|
||||
}
|
|
@ -16856,6 +16856,8 @@ with pkgs;
|
|||
|
||||
inherit (nodePackages) imapnotify;
|
||||
|
||||
img2pdf = callPackage ../applications/misc/img2pdf { };
|
||||
|
||||
# Impressive, formerly known as "KeyJNote".
|
||||
impressive = callPackage ../applications/office/impressive { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue