sieveshell: switch to pytestCheckHook

This commit is contained in:
Jörg Thalheim 2021-03-07 20:26:21 +01:00
parent 1d87b01a99
commit 0540dad5e1
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4

View File

@ -1,8 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestrunner , pytestCheckHook
, pytest
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -14,11 +13,7 @@ buildPythonPackage rec {
sha256 = "1dx0j8hhjwip1ackaj2m4hqrrx2iiv846ic4wa6ymrawwb8iq8m6"; sha256 = "1dx0j8hhjwip1ackaj2m4hqrrx2iiv846ic4wa6ymrawwb8iq8m6";
}; };
checkInputs = [ pytestrunner pytest ]; checkInputs = [ pytestCheckHook ];
checkPhase = ''
pytest
'';
meta = with lib; { meta = with lib; {
description = "ManageSieve client library for remotely managing Sieve scripts"; description = "ManageSieve client library for remotely managing Sieve scripts";