blob: 5665f0e226b35c363d82a0f10a50ef8908c812a4 (
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
38
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
pytestCheckHook,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "cron-descriptor";
version = "2.0.6";
pyproject = true;
src = fetchFromGitHub {
owner = "Salamek";
repo = "cron-descriptor";
tag = version;
hash = "sha256-f7TQ3wvcHrzefZowUvxl1T0LCGeCnvpPI/IZn4XcDa4=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
typing-extensions
];
pythonImportsCheck = [ "cron_descriptor" ];
meta = {
description = "Library that converts cron expressions into human readable strings";
homepage = "https://github.com/Salamek/cron-descriptor";
changelog = "https://github.com/Salamek/cron-descriptor/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ phaer ];
};
}
|