|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy27 }: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
version = "2.0.0"; |
|
|
|
|
version = "2.0.3"; |
|
|
|
|
pname = "elementpath"; |
|
|
|
|
disabled = isPy27; # uses incompatible class syntax |
|
|
|
|
|
|
|
|
@ -9,19 +9,13 @@ buildPythonPackage rec { |
|
|
|
|
owner = "sissaschool"; |
|
|
|
|
repo = "elementpath"; |
|
|
|
|
rev = "v${version}"; |
|
|
|
|
sha256 = "16kfbiy87qjl07y3iin8jdjhz8j28wlwnkwxq9a0752ipjjg869p"; |
|
|
|
|
sha256 = "16gs5glnlr4i41xbmd30x62zj85apmf69m9akvfnka0gkjlzv8in"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
# avoid circular dependency with xmlschema which directly depends on this |
|
|
|
|
doCheck = false; |
|
|
|
|
|
|
|
|
|
pythonImportsCheck = [ |
|
|
|
|
"elementpath.xpath1_parser" |
|
|
|
|
"elementpath.xpath2_parser" |
|
|
|
|
"elementpath.xpath2_functions" |
|
|
|
|
"elementpath.xpath_context" |
|
|
|
|
"elementpath.xpath_selectors" |
|
|
|
|
]; |
|
|
|
|
pythonImportsCheck = [ "elementpath" ]; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml"; |
|
|
|
|