2018-08-09 23:13:39 +02:00
|
|
|
{ stdenv, python3Packages }:
|
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "img2pdf";
|
2020-04-09 22:25:11 +02:00
|
|
|
version = "0.3.4";
|
2018-08-09 23:13:39 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-09 22:25:11 +02:00
|
|
|
sha256 = "0jgfk191vvxn2r6bbdknvw5v510mx9g0xrgnmcghaxkv65zjnj0b";
|
2018-08-09 23:13:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # needs pdfrw
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pillow
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.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";
|
2018-08-09 23:13:39 +02:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.veprbl ];
|
|
|
|
};
|
|
|
|
}
|