1{ lib
2, buildPythonPackage
3, fetchPypi
4, docopt
5, colorama
6, pytest
7, watchdog
8}:
9
10buildPythonPackage rec {
11 pname = "pytest-watch";
12 version = "4.2.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "06136f03d5b361718b8d0d234042f7b2f203910d8568f63df2f866b547b3d4b9";
17 };
18
19 buildInputs = [ pytest ];
20
21 propagatedBuildInputs = [ colorama docopt watchdog ];
22
23 # No Tests
24 doCheck = false;
25 pythonImportsCheck = [ "pytest_watch" ];
26
27 meta = with lib; {
28 homepage = "https://github.com/joeyespo/pytest-watch";
29 description = "Local continuous test runner with pytest and watchdog";
30 license = licenses.mit;
31 maintainers = with maintainers; [ dmvianna ];
32 };
33}