2019-10-15 01:53:34 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub }:
|
2019-08-01 20:22:09 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-10-15 01:53:34 +00:00
|
|
|
version = "1.3.0";
|
2019-08-01 20:22:09 +00:00
|
|
|
pname = "elementpath";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sissaschool";
|
|
|
|
repo = "elementpath";
|
|
|
|
rev = "v${version}";
|
2019-10-15 01:53:34 +00:00
|
|
|
sha256 = "0ahqqqpcf3fd6xcdhiwwscincyj6h5xyjaacnqxwph1y1b8mnzyw";
|
2019-08-01 20:22:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# avoid circular dependency with xmlschema which directly depends on this
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml";
|
|
|
|
homepage = "https://github.com/sissaschool/elementpath";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|