blob: 2c20e8ff7fb70978e750d31f2d98159d317d99ff (
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
51
|
{ lib
, buildPythonPackage
, cryptography
, fetchPypi
, fonttools
, lxml
, pillow
, python-barcode
, pythonOlder
, qrcode
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "borb";
version = "2.1.21";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-gnsPsvchvcUlWwmhDIazuc8/83ZRKc29VKhIDFSoFlE=";
};
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; [ marsam ];
};
}
|