blob: f4dba0858dbf3a4b9fa1820184030fc725529651 (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, python
, isPy27
, defusedxml
, pytest
}:
buildPythonPackage rec {
pname = "odfpy";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "596021f0519623ca8717331951c95e3b8d7b21e86edc7efe8cb650a0d0f59a2b";
};
propagatedBuildInputs = [ defusedxml ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = {
description = "Python API and tools to manipulate OpenDocument files";
homepage = https://github.com/eea/odfpy;
license = lib.licenses.asl20;
};
}
|