blob: 01354237280b3d3859237f07b2ba1e9a5fe2fb76 (
plain)
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,
fetchPypi,
setuptools,
wheel,
qrcode,
reportlab,
pillow,
pytest,
pyzbar,
}:
buildPythonPackage rec {
pname = "reportlab-qrcode";
version = "0.1.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-m/oeuA797MEBOJBIG157VIa7TbEbRRVK/O8Arz/oO/o=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
qrcode
reportlab
];
optional-dependencies = {
testing = [
pillow
pytest
pyzbar
];
};
pythonImportsCheck = [ "reportlab_qrcode" ];
meta = {
description = "Allows to create QR codes for use with the ReportLab PDF library";
homepage = "https://pypi.org/project/reportlab-qrcode/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ xanderio ];
};
}
|