Merge pull request #276759 from marsam/add-python-borb

python311Packages.borb: init at 2.1.20
This commit is contained in:
Mario Rodas 2023-12-28 08:54:48 -05:00 committed by GitHub
commit 01a53ca0c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,50 @@
{ lib
, buildPythonPackage
, cryptography
, fetchPypi
, fonttools
, lxml
, pillow
, python-barcode
, pythonOlder
, qrcode
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "borb";
version = "2.1.20";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-HvPwFtqAPtJrG+O+t8OyQmYHVo6DC7StAjSfAxtuFe4=";
};
propagatedBuildInputs = [
cryptography
fonttools
lxml
pillow
python-barcode
qrcode
requests
setuptools
];
pythonImportsCheck = [
"borb.pdf"
];
doCheck = false;
meta = with lib; {
description = "Library for reading, creating and manipulating PDF files in Python";
homepage = "https://borbpdf.com/";
license = licenses.agpl3Only;
maintainers = with maintainers; [ marsam ];
};
}

View File

@ -1605,6 +1605,8 @@ self: super: with self; {
enablePython = true;
});
borb = callPackage ../development/python-modules/borb { };
bork = callPackage ../development/python-modules/bork { };
boschshcpy = callPackage ../development/python-modules/boschshcpy { };