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