2018-08-09 23:13:39 +02:00
|
|
|
{ stdenv, python3Packages }:
|
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "img2pdf";
|
2019-01-17 19:01:57 +01:00
|
|
|
version = "0.3.3";
|
2018-08-09 23:13:39 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-17 19:01:57 +01:00
|
|
|
sha256 = "1ksn33j9d9df04n4jx7dli70d700rafbm37gjaz6lwsswrzc2xwx";
|
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";
|
|
|
|
homepage = https://gitlab.mister-muffin.de/josch/img2pdf;
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.veprbl ];
|
|
|
|
};
|
|
|
|
}
|