at 23.05-pre 535 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, defusedxml 5, pytest 6}: 7 8buildPythonPackage rec { 9 pname = "odfpy"; 10 version = "1.4.1"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "1v1qqk9p12qla85yscq2g413l3qasn6yr4ncyc934465b5p6lxnv"; 15 }; 16 17 propagatedBuildInputs = [ defusedxml ]; 18 19 checkInputs = [ pytest ]; 20 21 checkPhase = '' 22 pytest 23 ''; 24 25 meta = { 26 description = "Python API and tools to manipulate OpenDocument files"; 27 homepage = "https://github.com/eea/odfpy"; 28 license = lib.licenses.asl20; 29 }; 30}