python3Packages.ezodf: init at 0.3.2

This commit is contained in:
Zhaofeng Li
2025-07-06 11:16:31 -06:00
parent 30a61f056a
commit 21200da943
2 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
lxml,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "ezodf";
version = "0.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "T0ha";
repo = "ezodf";
tag = version;
hash = "sha256-d66CTj9CpCnMICqNdUP07M9elEfoxuPg8x1kxqgXTTE=";
};
build-system = [
setuptools
];
dependencies = [
lxml
];
nativeCheckInputs = [
unittestCheckHook
];
unittestFlags = [
"tests"
];
pythonImportsCheck = [
"ezodf"
];
meta = {
description = "Extract, add, modify, or delete document data in OpenDocument (ODF) files";
homepage = "https://github.com/T0ha/ezodf";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ zhaofengli ];
};
}

View File

@@ -4795,6 +4795,8 @@ self: super: with self; {
ezdxf = callPackage ../development/python-modules/ezdxf { };
ezodf = callPackage ../development/python-modules/ezodf { };
ezyrb = callPackage ../development/python-modules/ezyrb { };
f3d = toPythonModule (