2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
anyio,
|
2021-05-28 09:39:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "watchgod";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.8.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-yxH/ZmV777qU2CjjtiLV+3byL72hN281Xz5uUel9lFA=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ anyio ];
|
2022-04-27 09:35:20 +00:00
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
# no tests in release
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "watchgod" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple, modern file watching and code reload in python";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "watchgod";
|
2021-05-28 09:39:13 +00:00
|
|
|
homepage = "https://github.com/samuelcolvin/watchgod";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ globin ];
|
|
|
|
};
|
|
|
|
}
|