blob: 33bcd42e24e9dd397438c0cd838db340559c7860 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
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 = {
description = "Parses ranges";
homepage = "https://pypi.org/project/RangeParser/";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fab ];
};
}
|