3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/img2pdf/default.nix
2021-05-12 00:08:50 -04:00

29 lines
641 B
Nix

{ lib, pillow, fetchPypi, buildPythonPackage, isPy27, pikepdf }:
buildPythonPackage rec {
pname = "img2pdf";
version = "0.4.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-OKEinKhLIR13gtHWWtclGpeBvyT29kl8c4x1X8/tVVI=";
};
propagatedBuildInputs = [
pikepdf
pillow
];
# no tests exectuted
doCheck = false;
meta = with 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 ];
};
}