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