blob: 92ff6ce7857e7595451509278a739cf08cfa15b3 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
lxml,
xlsxwriter,
pillow,
}:
buildPythonPackage rec {
pname = "python-pptx";
version = "0.6.23";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-WHSX/yjneasY27B09tQFKJPIXe3JXtdd8xk2TzMf7e4=";
};
# postPatch = ''
# substituteInPlace setup.py \
# --replace "grpcio-tools>=1.47.0, <=1.48.0" "grpcio-tools>=1.47.0, <=1.52.0" \
# --replace "grpcio>=1.47.0,<=1.48.0" "grpcio>=1.47.0,<=1.53.0" \
# --replace "ujson>=2.0.0,<=5.4.0" "ujson>=2.0.0,<=5.7.0"
# '';
propagatedBuildInputs = [
lxml
xlsxwriter
pillow
];
doCheck = false;
meta = with lib; {
homepage = "https://github.com/scanny/python-pptx";
description = "Create Open XML PowerPoint documents in Python";
license = licenses.mit;
maintainers = with maintainers; [ happysalada ];
};
}
|