98eb3e9ef5
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
37 lines
900 B
Nix
37 lines
900 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "elementpath";
|
|
version = "4.4.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sissaschool";
|
|
repo = "elementpath";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-n1Ps0CybeLeDR5E4UnqmSkbFe0SXyplomEGDchAweSY=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# avoid circular dependency with xmlschema which directly depends on this
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "elementpath" ];
|
|
|
|
meta = with lib; {
|
|
description = "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml";
|
|
homepage = "https://github.com/sissaschool/elementpath";
|
|
changelog = "https://github.com/sissaschool/elementpath/blob/v${version}/CHANGELOG.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|