From 83e2a400e6e477cd25f7bfb0be69686ddf763f3f Mon Sep 17 00:00:00 2001 From: Pui Yong Qing Date: Tue, 16 Dec 2025 22:55:04 +0800 Subject: [PATCH] python3Packages.cron-descriptor: 1.4.5 -> 2.0.6 --- .../python-modules/cron-descriptor/default.nix | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/cron-descriptor/default.nix b/pkgs/development/python-modules/cron-descriptor/default.nix index 57c4c0fb54d6..5665f0e226b3 100644 --- a/pkgs/development/python-modules/cron-descriptor/default.nix +++ b/pkgs/development/python-modules/cron-descriptor/default.nix @@ -2,33 +2,28 @@ lib, fetchFromGitHub, buildPythonPackage, - unittestCheckHook, - mock, + pytestCheckHook, setuptools, + typing-extensions, }: buildPythonPackage rec { pname = "cron-descriptor"; - version = "1.4.5"; + version = "2.0.6"; pyproject = true; src = fetchFromGitHub { owner = "Salamek"; repo = "cron-descriptor"; tag = version; - hash = "sha256-ElYma6RH2u1faIgOvGpMQA26dSIibWcO4mWU6NAA5PQ="; + hash = "sha256-f7TQ3wvcHrzefZowUvxl1T0LCGeCnvpPI/IZn4XcDa4="; }; - # remove tests_require, as we don't do linting anyways - postPatch = '' - sed -i "/'pep8\|flake8\|pep8-naming',/d" setup.py - ''; - build-system = [ setuptools ]; nativeCheckInputs = [ - mock - unittestCheckHook + pytestCheckHook + typing-extensions ]; pythonImportsCheck = [ "cron_descriptor" ];