1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/img2pdf/default.nix

25 lines
578 B
Nix
Raw Normal View History

2020-07-16 13:00:00 +01:00
{ lib, pillow, fetchPypi, buildPythonPackage, isPy27 }:
2020-07-16 13:00:00 +01:00
buildPythonPackage rec {
pname = "img2pdf";
2020-05-21 23:32:49 +01:00
version = "0.3.6";
2020-07-16 13:00:00 +01:00
disabled = isPy27;
src = fetchPypi {
inherit pname version;
2020-05-21 23:32:49 +01:00
sha256 = "1yx0ljbg7phpix507wq584qvspp2jgax7flpp1148pxpc2d51mcc";
};
propagatedBuildInputs = [
pillow
];
2020-07-16 13:00:00 +01:00
meta = with lib; {
description = "Convert images to PDF via direct JPEG inclusion";
2020-04-09 21:25:11 +01:00
homepage = "https://gitlab.mister-muffin.de/josch/img2pdf";
license = licenses.lgpl2;
platforms = platforms.unix;
maintainers = [ maintainers.veprbl ];
};
}