Files
nixpkgs/pkgs/development/python-modules/et-xmlfile/default.nix
T
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

47 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitLab,
lxml,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "et-xmlfile";
version = "1.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitLab {
domain = "foss.heptapod.net";
owner = "openpyxl";
repo = "et_xmlfile";
rev = version;
hash = "sha256-MJimcnYKujOL3FedGreNpuw1Jpg48ataDmFd1qwTS5A=";
};
nativeCheckInputs = [
lxml
pytestCheckHook
];
pythonImportsCheck = [ "et_xmlfile" ];
meta = with lib; {
description = "Implementation of lxml.xmlfile for the standard library";
longDescription = ''
et_xmlfile is a low memory library for creating large XML files.
It is based upon the xmlfile module from lxml with the aim of
allowing code to be developed that will work with both
libraries. It was developed initially for the openpyxl project
but is now a standalone module.
'';
homepage = "https://foss.heptapod.net/openpyxl/et_xmlfile";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}