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