blob: ad881658be99d7a2a0b8debdb87d066d75b20bc5 (
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
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
infinity,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "intervals";
version = "0.9.2";
pyproject = true;
src = fetchFromGitHub {
owner = "kvesteri";
repo = "intervals";
tag = version;
hash = "sha256-5SwbGF7RU+2wgGnqhhFCdV89tsEIum4w7RwPU7+3MRQ=";
};
build-system = [ setuptools ];
dependencies = [ infinity ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "intervals" ];
meta = {
description = "Tools for handling intervals (ranges of comparable objects)";
homepage = "https://github.com/kvesteri/intervals";
changelog = "https://github.com/kvesteri/intervals/blob/${version}/CHANGES.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ jherland ];
};
}
|