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