nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 630 B view raw
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 = { 26 description = "Simple, modern file watching and code reload in python"; 27 mainProgram = "watchgod"; 28 homepage = "https://github.com/samuelcolvin/watchgod"; 29 license = lib.licenses.mit; 30 maintainers = [ ]; 31 }; 32}