1 { lib, buildPythonPackage, fetchFromGitHub, isPy27 }:
3 buildPythonPackage rec {
6 disabled = isPy27; # uses incompatible class syntax
8 src = fetchFromGitHub {
12 sha256 = "15yjl18n81zddd27789mcy12gnja3cqycjdykybwgd9i0ysj96gl";
15 # avoid circular dependency with xmlschema which directly depends on this
18 pythonImportsCheck = [ "elementpath" ];
21 description = "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml";
22 homepage = "https://github.com/sissaschool/elementpath";
23 license = licenses.mit;
24 maintainers = with maintainers; [ jonringer ];