diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-12-25 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2023-12-25 04:20:00 +0000 |
commit | d5872fa73bac530ac3531523aef55b0cbf0bf58a (patch) | |
tree | 0b8b75f4499980644ac7430f7fdf28ce7dac6bc5 /pkgs/development/python-modules/borb | |
parent | a46cc1203bf1d73da02d4bcbfebace4dca376e64 (diff) |
python311Packages.borb: init at 2.1.20
Diffstat (limited to 'pkgs/development/python-modules/borb')
-rw-r--r-- | pkgs/development/python-modules/borb/default.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/borb/default.nix b/pkgs/development/python-modules/borb/default.nix new file mode 100644 index 0000000000000..2c8c84bbf20ce --- /dev/null +++ b/pkgs/development/python-modules/borb/default.nix @@ -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 ]; + }; +} |