1{ lib 2, buildPythonPackage 3, fetchPypi 4, anyio 5}: 6 7buildPythonPackage rec { 8 pname = "watchgod"; 9 version = "0.8.2"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-yxH/ZmV777qU2CjjtiLV+3byL72hN281Xz5uUel9lFA="; 14 }; 15 16 propagatedBuildInputs = [ 17 anyio 18 ]; 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 homepage = "https://github.com/samuelcolvin/watchgod"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ globin ]; 30 }; 31 32}