at master 915 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 arrow, 7 delorean, 8 pendulum, 9 pytestCheckHook, 10 pytz, 11 udatetime, 12}: 13 14buildPythonPackage rec { 15 pname = "pycron"; 16 version = "3.2.0"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "kipe"; 21 repo = "pycron"; 22 tag = version; 23 hash = "sha256-AuDqElqu/cbTASHQfWM85JHu8DvkwArZ2leMZSB+XVM="; 24 }; 25 26 build-system = [ poetry-core ]; 27 28 nativeCheckInputs = [ 29 arrow 30 delorean 31 pendulum 32 pytestCheckHook 33 pytz 34 udatetime 35 ]; 36 37 disabledTestPaths = [ 38 # depens on nose 39 "tests/test_has_been.py" 40 ]; 41 42 pythonImportsCheck = [ "pycron" ]; 43 44 meta = with lib; { 45 description = "Simple cron-like parser for Python, which determines if current datetime matches conditions"; 46 license = licenses.mit; 47 homepage = "https://github.com/kipe/pycron"; 48 maintainers = with maintainers; [ globin ]; 49 }; 50}