1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytest,
6 execnet,
7}:
8
9buildPythonPackage rec {
10 pname = "pytest-cache";
11 version = "1.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1a873fihw4rhshc722j4h6j7g3nj7xpgsna9hhg3zn6ksknnhx5y";
16 };
17
18 buildInputs = [ pytest ];
19 propagatedBuildInputs = [ execnet ];
20
21 checkPhase = ''
22 py.test
23 '';
24
25 # Too many failing tests. Are they maintained?
26 doCheck = false;
27
28 meta = with lib; {
29 license = licenses.mit;
30 homepage = "https://pypi.python.org/pypi/pytest-cache/";
31 description = "pytest plugin with mechanisms for caching across test runs";
32 };
33}