python313Packages.timelength: init at 3.0.2

This commit is contained in:
Valentin Chassignol
2025-10-13 16:07:25 +02:00
parent 6cfbd700ca
commit 3fe6486b2a
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
pytestCheckHook,
poetry-core,
pytest-mock,
}:
buildPythonPackage rec {
pname = "timelength";
version = "3.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "EtorixDev";
repo = "timelength";
tag = "v${version}";
hash = "sha256-iaAtDkx6jPPB7s+sTQsrfNFiwerSDZ+7y7C9oNNYEmg=";
};
build-system = [
poetry-core
];
pythonImportsCheck = [ "timelength" ];
nativeCheckInputs = [
pytestCheckHook
pytest-mock
];
meta = {
description = "Flexible python duration parser designed for human readable lengths of time";
homepage = "https://github.com/EtorixDev/timelength/";
changelog = "https://github.com/EtorixDev/timelength/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ vinetos ];
};
}
+2
View File
@@ -18438,6 +18438,8 @@ self: super: with self; {
timecop = callPackage ../development/python-modules/timecop { };
timelength = callPackage ../development/python-modules/timelength { };
timelib = callPackage ../development/python-modules/timelib { };
timeout-decorator = callPackage ../development/python-modules/timeout-decorator { };