depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-watch/default.nix
Default email d419639f9c Project import generated by Copybara.
GitOrigin-RevId: 6b1057b452c55bb3b463f0d7055bc4ec3fd1f381
2021-02-17 18:02:09 +01:00

31 lines
670 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, docopt
, colorama
, pytest
, watchdog
}:
buildPythonPackage rec {
pname = "pytest-watch";
version = "4.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "06136f03d5b361718b8d0d234042f7b2f203910d8568f63df2f866b547b3d4b9";
};
propagatedBuildInputs = [ pytest 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 ];
};
}