3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/elementpath/default.nix
2021-11-20 09:55:13 +01:00

35 lines
767 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "elementpath";
version = "2.4.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "sissaschool";
repo = "elementpath";
rev = "v${version}";
sha256 = "1f3w5zyvrkl4gab81i5z9b41ybs54b37znj5r7hrcf25x8hrqgvv";
};
# 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 ];
};
}