depot/third_party/nixpkgs/pkgs/development/python-modules/rangeparser/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

35 lines
680 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "rangeparser";
version = "0.1.3";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "RangeParser";
inherit version;
hash = "sha256-gjA7Iytg802Lv7/rLfhGE0yjz4e6FfOXbEoWNPjhCOY=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "rangeparser" ];
meta = with lib; {
description = "Parses ranges";
homepage = "https://pypi.org/project/RangeParser/";
license = licenses.bsd2;
maintainers = with maintainers; [ fab ];
};
}