1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/development/python-modules/odfpy/default.nix

31 lines
533 B
Nix
Raw Normal View History

2017-08-25 09:40:49 +01:00
{ lib
, buildPythonPackage
, fetchPypi
2019-03-02 13:23:42 +00:00
, defusedxml
, pytest
2017-08-25 09:40:49 +01:00
}:
buildPythonPackage rec {
pname = "odfpy";
2020-02-02 00:56:25 +00:00
version = "1.4.1";
2017-08-25 09:40:49 +01:00
src = fetchPypi {
inherit pname version;
2020-02-02 00:56:25 +00:00
sha256 = "1v1qqk9p12qla85yscq2g413l3qasn6yr4ncyc934465b5p6lxnv";
2017-08-25 09:40:49 +01:00
};
2019-03-02 13:23:42 +00:00
propagatedBuildInputs = [ defusedxml ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
2017-08-25 09:40:49 +01:00
'';
meta = {
description = "Python API and tools to manipulate OpenDocument files";
2019-03-02 13:23:42 +00:00
homepage = https://github.com/eea/odfpy;
2017-08-25 09:40:49 +01:00
license = lib.licenses.asl20;
};
}