nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 32 lines 609 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, anyio 5}: 6 7buildPythonPackage rec { 8 pname = "watchgod"; 9 version = "0.8.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-wS0V8999EedAcE5FOYJ3918dePRq1Zyp11Bb/YuNMIY="; 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}