python310Packages.pytest-testmon: add pythonImportsCheck

- update disabled
- update meta
This commit is contained in:
Fabian Affolter 2022-08-28 10:46:51 +02:00 committed by GitHub
parent 3a1b441783
commit 5db524ac69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,32 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, coverage
, fetchPypi
, pytest
, pythonOlder
}:
buildPythonPackage rec {
pname = "pytest-testmon";
version = "1.3.5";
disabled = pythonOlder "3.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ncgNO76j2Z3766ojYydUoYZzRoTb2XxhR6FkKFzjyhI=";
hash = "sha256-ncgNO76j2Z3766ojYydUoYZzRoTb2XxhR6FkKFzjyhI=";
};
propagatedBuildInputs = [ pytest coverage ];
buildInputs = [
pytest
];
propagatedBuildInputs = [
coverage
];
# The project does not include tests since version 1.3.0
doCheck = false;
pythonImportsCheck = [ "testmon" ];
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/";
description = "This is a py.test plug-in which automatically selects and re-executes only tests affected by recent changes";
license = licenses.mit;
maintainers = [ maintainers.dmvianna ];
maintainers = with maintainers; [ dmvianna ];
};
}