Merge pull request #229496 from centromere/cron-descriptor-1.2.35

python3Packages.cron-descriptor: 1.2.30 -> 1.2.35

authored by Nick Cao and committed by GitHub 2395e4f1 4b438a28

+7 -2
+7 -2
pkgs/development/python-modules/cron-descriptor/default.nix
··· 2 , python 3 , buildPythonPackage 4 , fetchFromGitHub 5 , pytestCheckHook 6 }: 7 8 buildPythonPackage rec { 9 pname = "cron_descriptor"; 10 - version = "1.2.30"; 11 12 src = fetchFromGitHub { 13 owner = "Salamek"; 14 repo = "cron-descriptor"; 15 rev = "refs/tags/${version}"; 16 - hash = "sha256-Qei9f0HlIu5sautMEASvxdUqZyXKvHDWJgd3oST1gJo="; 17 }; 18 19 # remove tests_require, as we don't do linting anyways 20 postPatch = '' 21 sed -i "/'pep8\|flake8\|pep8-naming',/d" setup.py 22 ''; 23 24 checkPhase = '' 25 ${python.interpreter} setup.py test
··· 2 , python 3 , buildPythonPackage 4 , fetchFromGitHub 5 + , mock 6 , pytestCheckHook 7 }: 8 9 buildPythonPackage rec { 10 pname = "cron_descriptor"; 11 + version = "1.2.35"; 12 13 src = fetchFromGitHub { 14 owner = "Salamek"; 15 repo = "cron-descriptor"; 16 rev = "refs/tags/${version}"; 17 + hash = "sha256-m+h91cddmEPHCeUWWNpTvb89mFwm8ty8tTnw3YDjCFo="; 18 }; 19 20 # remove tests_require, as we don't do linting anyways 21 postPatch = '' 22 sed -i "/'pep8\|flake8\|pep8-naming',/d" setup.py 23 ''; 24 + 25 + checkInputs = [ 26 + mock 27 + ]; 28 29 checkPhase = '' 30 ${python.interpreter} setup.py test