python312Packages.duration-parser: init at 1.0.1
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "duration-parser";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "adriansahlman";
|
||||
repo = "duration-parser";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Vn3H2JEMrJ6b/7eNG+h9tG5QzslGvaV3sunM7UO9Bok=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"duration_parser"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A minimal duration parser written in python";
|
||||
homepage = "https://github.com/adriansahlman/duration-parser";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
@@ -4036,6 +4036,8 @@ self: super: with self; {
|
||||
|
||||
duo-client = callPackage ../development/python-modules/duo-client { };
|
||||
|
||||
duration-parser = callPackage ../development/python-modules/duration-parser { };
|
||||
|
||||
durationpy = callPackage ../development/python-modules/durationpy { };
|
||||
|
||||
durus = callPackage ../development/python-modules/durus { };
|
||||
|
||||
Reference in New Issue
Block a user