diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-25 10:40:49 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-25 19:36:16 +0200 |
commit | b1c1892e2d5b2d47d1b89f22331f479c7d947096 (patch) | |
tree | dfa7251ae8204e10382d67c53194855241ede429 /pkgs/development/python-modules/odfpy | |
parent | 1e4029fa0a36e9948c3df7afd276e9651cea1a85 (diff) |
python.pkgs.odfpy: 0.9.6 -> 1.3.5
Diffstat (limited to 'pkgs/development/python-modules/odfpy')
-rw-r--r-- | pkgs/development/python-modules/odfpy/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/odfpy/default.nix b/pkgs/development/python-modules/odfpy/default.nix new file mode 100644 index 0000000000000..a80cd827c6d1c --- /dev/null +++ b/pkgs/development/python-modules/odfpy/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "odfpy"; + version = "1.3.5"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "6f8163f8464868cff9421a058f25566e41d73c8f7e849c021b86630941b44366"; + }; + + checkPhase = '' + pushd tests + rm runtests + for file in test*.py; do + python $file + done + ''; + + meta = { + description = "Python API and tools to manipulate OpenDocument files"; + homepage = "https://joinup.ec.europa.eu/software/odfpy/home"; + license = lib.licenses.asl20; + }; +} |