blob: ef4e533a977ca460b46fbcb384806e112d8e35b7 (
plain) (
blame)
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
|
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "cronsim";
version = "2.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ebFYIOANXZLmM6cbovwBCJH8Wr/HlJbOR9YGp8Jw7pc=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"cronsim"
];
meta = with lib; {
description = "Cron expression parser and evaluator";
homepage = "https://github.com/cuu508/cronsim";
license = licenses.bsd3;
maintainers = with maintainers; [ phaer ];
};
}
|