sieveshell: switch to pytestCheckHook
commit0540dad5e18536b263bdccf349b0a3e8b7ee8fd7
authorJörg Thalheim <joerg@thalheim.io>
dateSun 7 Mar 2021, 20:26 (6 years ago)
parent1d87b01
pkgs/development/python-modules/managesieve/default.nix+2−7
@@ -1,8 +1,7 @@
11{ lib
22, buildPythonPackage
33, fetchPypi
4−, pytestrunner
5−, pytest
4+, pytestCheckHook
65}:
76
87buildPythonPackage rec {
@@ -14,11 +13,7 @@ buildPythonPackage rec {
1413 sha256 = "1dx0j8hhjwip1ackaj2m4hqrrx2iiv846ic4wa6ymrawwb8iq8m6";
1514 };
1615
17− checkInputs = [ pytestrunner pytest ];
18−
19− checkPhase = ''
20− pytest
21− '';
16+ checkInputs = [ pytestCheckHook ];
2217
2318 meta = with lib; {
2419 description = "ManageSieve client library for remotely managing Sieve scripts";