Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
796 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ 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 ]; };}