mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
37 lines
733 B
Nix
37 lines
733 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
lxml,
|
|
pillow,
|
|
uv-build,
|
|
}:
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "odfdo";
|
|
version = "3.22.8";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jdum";
|
|
repo = "odfdo";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-N256BtTV3zUXLL/ynXOTWqyoBorVsTEgevxdmLfRoJw=";
|
|
};
|
|
|
|
build-system = [ uv-build ];
|
|
|
|
dependencies = [ lxml ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pillow
|
|
];
|
|
|
|
meta = {
|
|
description = "OpenDocument Format (ODF, ISO/IEC 26300) library for Python";
|
|
homepage = "https://github.com/jdum/odfdo";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ ungeskriptet ];
|
|
};
|
|
})
|