Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 563 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 5, isPy27 6, defusedxml 7, pytest 8}: 9 10buildPythonPackage rec { 11 pname = "odfpy"; 12 version = "1.4.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "596021f0519623ca8717331951c95e3b8d7b21e86edc7efe8cb650a0d0f59a2b"; 17 }; 18 19 propagatedBuildInputs = [ defusedxml ]; 20 21 checkInputs = [ pytest ]; 22 23 checkPhase = '' 24 pytest 25 ''; 26 27 meta = { 28 description = "Python API and tools to manipulate OpenDocument files"; 29 homepage = https://github.com/eea/odfpy; 30 license = lib.licenses.asl20; 31 }; 32}