img2pdf: make a python package
This commit is contained in:
committed by
Dmitry Kalinkin
parent
ba4f0c63e4
commit
293d7c3933
24
pkgs/development/python-modules/img2pdf/default.nix
Normal file
24
pkgs/development/python-modules/img2pdf/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ lib, pillow, fetchPypi, buildPythonPackage, isPy27 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "img2pdf";
|
||||
version = "0.3.6";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yx0ljbg7phpix507wq584qvspp2jgax7flpp1148pxpc2d51mcc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pillow
|
||||
];
|
||||
|
||||
meta = with 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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user