blob: 72f88a169d814eca751732143aca713628d83a0a (
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
51
52
53
54
55
|
{
lib,
buildPythonPackage,
et-xmlfile,
fetchFromGitLab,
lxml,
pandas,
pillow,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "openpyxl";
version = "3.1.5";
pyproject = true;
src = fetchFromGitLab {
domain = "foss.heptapod.net";
owner = "openpyxl";
repo = "openpyxl";
tag = version;
hash = "sha256-vp+TIWcHCAWlDaBcmC7w/kV7DZTZpa6463NusaJmqKo=";
};
build-system = [ setuptools ];
dependencies = [ et-xmlfile ];
nativeCheckInputs = [
lxml
pandas
pillow
pytestCheckHook
];
pytestFlags = [
"-Wignore::DeprecationWarning"
];
disabledTests = [
# lxml 6.0
"test_iterparse"
];
pythonImportsCheck = [ "openpyxl" ];
meta = {
description = "Python library to read/write Excel 2010 xlsx/xlsm files";
homepage = "https://openpyxl.readthedocs.org";
changelog = "https://foss.heptapod.net/openpyxl/openpyxl/-/blob/${version}/doc/changes.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lihop ];
};
}
|