blob: 2c8c84bbf20ce2684102942db68e39aff37e2d2e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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 ];
};
}
|