diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/python-crontab/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/python-crontab/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/python-crontab/default.nix b/nixpkgs/pkgs/development/python-modules/python-crontab/default.nix index 99cf1c63ca8f..a1fb349c9ee9 100644 --- a/nixpkgs/pkgs/development/python-modules/python-crontab/default.nix +++ b/nixpkgs/pkgs/development/python-modules/python-crontab/default.nix @@ -4,12 +4,13 @@ , python-dateutil , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "python-crontab"; version = "3.0.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -18,6 +19,10 @@ buildPythonPackage rec { hash = "sha256-eft0ZQOd39T7k9By1u4NRcGsi/FZfwaG6hT9Q2Hbo3k="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ python-dateutil ]; @@ -30,6 +35,8 @@ buildPythonPackage rec { "test_07_non_posix_shell" # doctest that assumes /tmp is writeable, awkward to patch "test_03_usage" + # AssertionError: 4 != 0 + "test_19_frequency_at_month" ]; pythonImportsCheck = [ |