mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
32 lines
736 B
Nix
32 lines
736 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "2.3.1";
|
|
pname = "elementpath";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sissaschool";
|
|
repo = "elementpath";
|
|
rev = "v${version}";
|
|
sha256 = "1imjilhmbw08469irlbr3am5zksbg327n7mznxfixrigq9d65qx6";
|
|
};
|
|
|
|
# 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";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jonringer ];
|
|
};
|
|
}
|