Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / elementpath / default.nix
blobe9144961c6d79bad7a4022d993ba4ef7f37fe5bf
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   pname = "elementpath";
11   version = "4.4.0";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "sissaschool";
18     repo = "elementpath";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-n1Ps0CybeLeDR5E4UnqmSkbFe0SXyplomEGDchAweSY=";
21   };
23   build-system = [ setuptools ];
25   # avoid circular dependency with xmlschema which directly depends on this
26   doCheck = false;
28   pythonImportsCheck = [ "elementpath" ];
30   meta = with lib; {
31     description = "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml";
32     homepage = "https://github.com/sissaschool/elementpath";
33     changelog = "https://github.com/sissaschool/elementpath/blob/v${version}/CHANGELOG.rst";
34     license = licenses.mit;
35     maintainers = with maintainers; [ jonringer ];
36   };