1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 anyio,
6}:
7
8buildPythonPackage rec {
9 pname = "watchgod";
10 version = "0.8.2";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-yxH/ZmV777qU2CjjtiLV+3byL72hN281Xz5uUel9lFA=";
16 };
17
18 propagatedBuildInputs = [ anyio ];
19
20 # no tests in release
21 doCheck = false;
22
23 pythonImportsCheck = [ "watchgod" ];
24
25 meta = with lib; {
26 description = "Simple, modern file watching and code reload in python";
27 mainProgram = "watchgod";
28 homepage = "https://github.com/samuelcolvin/watchgod";
29 license = licenses.mit;
30 maintainers = with maintainers; [ globin ];
31 };
32}