depot/third_party/nixpkgs/pkgs/development/python-modules/borb/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

51 lines
917 B
Nix

{ lib
, buildPythonPackage
, cryptography
, fetchPypi
, fonttools
, lxml
, pillow
, python-barcode
, pythonOlder
, qrcode
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "borb";
version = "2.1.22";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-T+uSq/KF3p4zJJhQeompJIJ6BWhYFK9Ko9w0sZFtFhE=";
};
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/";
changelog = "https://github.com/jorisschellekens/borb/releases/tag/v${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ ];
};
}