From 5ddd329f7cd3be17b69e9bd475621edb37d75089 Mon Sep 17 00:00:00 2001 From: Alex Wied Date: Tue, 2 May 2023 12:40:20 -0400 Subject: [PATCH] python3Packages.cron-descriptor: 1.2.30 -> 1.2.35 --- .../python-modules/cron-descriptor/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cron-descriptor/default.nix b/pkgs/development/python-modules/cron-descriptor/default.nix index dd8755a9e900..bb946780009e 100644 --- a/pkgs/development/python-modules/cron-descriptor/default.nix +++ b/pkgs/development/python-modules/cron-descriptor/default.nix @@ -2,18 +2,19 @@ , python , buildPythonPackage , fetchFromGitHub +, mock , pytestCheckHook }: buildPythonPackage rec { pname = "cron_descriptor"; - version = "1.2.30"; + version = "1.2.35"; src = fetchFromGitHub { owner = "Salamek"; repo = "cron-descriptor"; rev = "refs/tags/${version}"; - hash = "sha256-Qei9f0HlIu5sautMEASvxdUqZyXKvHDWJgd3oST1gJo="; + hash = "sha256-m+h91cddmEPHCeUWWNpTvb89mFwm8ty8tTnw3YDjCFo="; }; # remove tests_require, as we don't do linting anyways @@ -21,6 +22,10 @@ buildPythonPackage rec { sed -i "/'pep8\|flake8\|pep8-naming',/d" setup.py ''; + checkInputs = [ + mock + ]; + checkPhase = '' ${python.interpreter} setup.py test '';