Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

35 lines
652 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytest,
execnet,
}:
buildPythonPackage rec {
pname = "pytest-cache";
version = "1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1a873fihw4rhshc722j4h6j7g3nj7xpgsna9hhg3zn6ksknnhx5y";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ execnet ];
checkPhase = ''
py.test
'';
# Too many failing tests. Are they maintained?
doCheck = false;
meta = {
license = lib.licenses.mit;
homepage = "https://pypi.python.org/pypi/pytest-cache/";
description = "Pytest plugin with mechanisms for caching across test runs";
};
}