5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
42 lines
819 B
Nix
42 lines
819 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, coverage
|
|
, fetchPypi
|
|
, pytest
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-testmon";
|
|
version = "1.3.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-tjdu4mEslRl7QGnNGg7ATaQCipwF5/XSpFPq3E3A/Vo=";
|
|
};
|
|
|
|
buildInputs = [
|
|
pytest
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
coverage
|
|
];
|
|
|
|
# The project does not include tests since version 1.3.0
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"testmon"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Pytest plug-in which automatically selects and re-executes only tests affected by recent changes";
|
|
homepage = "https://github.com/tarpas/pytest-testmon/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dmvianna ];
|
|
};
|
|
}
|