nixpkgs/pkgs/development/python-modules/img2pdf/default.nix

29 lines
654 B
Nix
Raw Normal View History

2020-08-17 06:39:53 +02:00
{ lib, pillow, fetchPypi, buildPythonPackage, isPy27, pikepdf }:
2020-07-16 14:00:00 +02:00
buildPythonPackage rec {
pname = "img2pdf";
2020-08-16 19:31:04 +02:00
version = "0.4.0";
2020-07-16 14:00:00 +02:00
disabled = isPy27;
src = fetchPypi {
inherit pname version;
2020-08-16 19:31:04 +02:00
sha256 = "eaee690ab8403dd1a9cb4db10afee41dd3e6c7ed63bdace02a0121f9feadb0c9";
};
propagatedBuildInputs = [
2020-08-17 06:39:53 +02:00
pikepdf
pillow
];
2021-02-12 20:02:02 +01:00
# no tests exectuted
doCheck = false;
2020-07-16 14:00:00 +02:00
meta = with lib; {
description = "Convert images to PDF via direct JPEG inclusion";
2020-04-09 22:25:11 +02:00
homepage = "https://gitlab.mister-muffin.de/josch/img2pdf";
license = licenses.lgpl2;
platforms = platforms.unix;
maintainers = [ maintainers.veprbl ];
};
}