504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
34 lines
717 B
Nix
34 lines
717 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, docopt
|
|
, colorama
|
|
, pytest
|
|
, watchdog
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-watch";
|
|
version = "4.2.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "06136f03d5b361718b8d0d234042f7b2f203910d8568f63df2f866b547b3d4b9";
|
|
};
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ colorama docopt watchdog ];
|
|
|
|
# No Tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "pytest_watch" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/joeyespo/pytest-watch";
|
|
description = "Local continuous test runner with pytest and watchdog";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dmvianna ];
|
|
};
|
|
}
|