Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 23 lines 644 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub }: 2 3buildPythonPackage rec { 4 version = "1.3.3"; 5 pname = "elementpath"; 6 7 src = fetchFromGitHub { 8 owner = "sissaschool"; 9 repo = "elementpath"; 10 rev = "v${version}"; 11 sha256 = "05wplh836ffwhncf5rpdnz4g1b3mqw7jiy83352nw4x3aak4ifbr"; 12 }; 13 14 # avoid circular dependency with xmlschema which directly depends on this 15 doCheck = false; 16 17 meta = with lib; { 18 description = "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml"; 19 homepage = "https://github.com/sissaschool/elementpath"; 20 license = licenses.mit; 21 maintainers = with maintainers; [ jonringer ]; 22 }; 23}