python3Packages.cron-descriptor: 1.2.30 -> 1.2.35
This commit is contained in:
parent
69e6642e49
commit
5ddd329f7c
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue