1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "cronsim"; 10 version = "2.3"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-ebFYIOANXZLmM6cbovwBCJH8Wr/HlJbOR9YGp8Jw7pc="; 18 }; 19 20 checkInputs = [ 21 pytestCheckHook 22 ]; 23 24 pythonImportsCheck = [ 25 "cronsim" 26 ]; 27 28 meta = with lib; { 29 description = "Cron expression parser and evaluator"; 30 homepage = "https://github.com/cuu508/cronsim"; 31 license = licenses.bsd3; 32 maintainers = with maintainers; [ phaer ]; 33 }; 34}