1{ lib
2, buildPythonPackage
3, coverage
4, fetchPypi
5, pytest
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "pytest-testmon";
11 version = "1.4.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-PVLXOBTo2xnMBM4wyvrmGgyztW0ajGxMU+oIhrjZiw8=";
19 };
20
21 buildInputs = [
22 pytest
23 ];
24
25 propagatedBuildInputs = [
26 coverage
27 ];
28
29 # The project does not include tests since version 1.3.0
30 doCheck = false;
31
32 pythonImportsCheck = [
33 "testmon"
34 ];
35
36 meta = with lib; {
37 description = "Pytest plug-in which automatically selects and re-executes only tests affected by recent changes";
38 homepage = "https://github.com/tarpas/pytest-testmon/";
39 license = licenses.mit;
40 maintainers = with maintainers; [ dmvianna ];
41 };
42}