linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / img2pdf / default.nix
blobeb8605c45ddcee82307243bde01e07e30d3ef98a
1 { lib, pillow, fetchPypi, buildPythonPackage, isPy27, pikepdf }:
3 buildPythonPackage rec {
4   pname = "img2pdf";
5   version = "0.4.0";
6   disabled = isPy27;
8   src = fetchPypi {
9     inherit pname version;
10     sha256 = "eaee690ab8403dd1a9cb4db10afee41dd3e6c7ed63bdace02a0121f9feadb0c9";
11   };
13   propagatedBuildInputs = [
14     pikepdf
15     pillow
16   ];
18   # no tests exectuted
19   doCheck = false;
21   meta = with lib; {
22     description = "Convert images to PDF via direct JPEG inclusion";
23     homepage = "https://gitlab.mister-muffin.de/josch/img2pdf";
24     license = licenses.lgpl2;
25     platforms = platforms.unix;
26     maintainers = [ maintainers.veprbl ];
27   };