python3Packages.intervals: init at 0.9.2

This commit is contained in:
Johan Herland
2025-07-01 21:55:52 +00:00
parent ce557ce4ac
commit d8fd2cb10f
2 changed files with 39 additions and 0 deletions
@@ -0,0 +1,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 ];
};
}
+2
View File
@@ -6966,6 +6966,8 @@ self: super: with self; {
interruptingcow = callPackage ../development/python-modules/interruptingcow { };
intervals = callPackage ../development/python-modules/intervals { };
intervaltree = callPackage ../development/python-modules/intervaltree { };
into-dbus-python = callPackage ../development/python-modules/into-dbus-python { };