mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
Diff: https://github.com/sissaschool/elementpath/compare/v5.0.3...v5.0.4 Changelog: https://github.com/sissaschool/elementpath/blob/v5.0.4/CHANGELOG.rst
38 lines
871 B
Nix
38 lines
871 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "elementpath";
|
|
version = "5.0.4";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sissaschool";
|
|
repo = "elementpath";
|
|
tag = "v${version}";
|
|
hash = "sha256-puScPtX46KQ5tSpsZMtuyiCz1cRY43STeJD4P3rkoFY=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# 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";
|
|
changelog = "https://github.com/sissaschool/elementpath/blob/${src.tag}/CHANGELOG.rst";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|