python39Packages.tempora: switch to pytestCheckHook, remove linter
This commit is contained in:
parent
f4e164ee02
commit
bd820dbaab
|
@ -1,7 +1,6 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
, setuptools-scm, pytest, pytest-freezegun, freezegun, backports_unittest-mock
|
, setuptools-scm, pytestCheckHook, pytest-freezegun, freezegun, backports_unittest-mock
|
||||||
, six, pytz, jaraco_functools, pythonOlder
|
, six, pytz, jaraco_functools, pythonOlder
|
||||||
, pytest-flake8, pytest-cov, pytest-black, pytest-mypy
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -20,14 +19,9 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [ six pytz jaraco_functools ];
|
propagatedBuildInputs = [ six pytz jaraco_functools ];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest-freezegun pytest freezegun backports_unittest-mock
|
pytest-freezegun pytestCheckHook freezegun backports_unittest-mock
|
||||||
pytest-flake8 pytest-cov pytest-black pytest-mypy
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Objects and routines pertaining to date and time";
|
description = "Objects and routines pertaining to date and time";
|
||||||
homepage = "https://github.com/jaraco/tempora";
|
homepage = "https://github.com/jaraco/tempora";
|
||||||
|
|
Loading…
Reference in a new issue