22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
32 lines
609 B
Nix
32 lines
609 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, anyio
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "watchgod";
|
|
version = "0.8.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-wS0V8999EedAcE5FOYJ3918dePRq1Zyp11Bb/YuNMIY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
anyio
|
|
];
|
|
|
|
# no tests in release
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "watchgod" ];
|
|
|
|
meta = with lib; {
|
|
description = "Simple, modern file watching and code reload in python";
|
|
homepage = "https://github.com/samuelcolvin/watchgod";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ globin ];
|
|
};
|
|
|
|
}
|