1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-25 10:36:36 +03:00
nixpkgs/pkgs/development/python-modules/rangeparser/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
680 B
Nix
Raw Normal View History

{
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 ];
};
}