9 buildPythonPackage rec {
10 pname = "elementpath";
14 disabled = pythonOlder "3.7";
16 src = fetchFromGitHub {
17 owner = "sissaschool";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-zyJ+UtPTGEziIlucIXN1dIzfN5sfLkeOia7tiqOGFjk=";
23 build-system = [ setuptools ];
25 # avoid circular dependency with xmlschema which directly depends on this
28 pythonImportsCheck = [ "elementpath" ];
31 description = "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml";
32 homepage = "https://github.com/sissaschool/elementpath";
33 changelog = "https://github.com/sissaschool/elementpath/blob/v${version}/CHANGELOG.rst";
34 license = licenses.mit;