python.pkgs.ics: simplify tests

This commit is contained in:
Robert Schütz 2020-07-07 14:48:09 +02:00 committed by Jon
parent e2786e8e88
commit 91859703cf
1 changed files with 2 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder { stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
, tatsu, arrow , tatsu, arrow
, pytest-sugar, pytestpep8, pytest-flakes, pytestcov , pytestCheckHook, pytestpep8, pytest-flakes
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -22,10 +22,7 @@ buildPythonPackage rec {
--replace "arrow>=0.11,<0.15" "arrow" --replace "arrow>=0.11,<0.15" "arrow"
''; '';
checkInputs = [ pytest-sugar pytestpep8 pytest-flakes pytestcov ]; checkInputs = [ pytestCheckHook pytestpep8 pytest-flakes ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Pythonic and easy iCalendar library (RFC 5545)"; description = "Pythonic and easy iCalendar library (RFC 5545)";