depot/third_party/nixpkgs/pkgs/development/python-modules/watchgod/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

32 lines
661 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
anyio,
}:
buildPythonPackage rec {
pname = "watchgod";
version = "0.8.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-yxH/ZmV777qU2CjjtiLV+3byL72hN281Xz5uUel9lFA=";
};
propagatedBuildInputs = [ anyio ];
# no tests in release
doCheck = false;
pythonImportsCheck = [ "watchgod" ];
meta = with lib; {
description = "Simple, modern file watching and code reload in python";
mainProgram = "watchgod";
homepage = "https://github.com/samuelcolvin/watchgod";
license = licenses.mit;
maintainers = with maintainers; [ globin ];
};
}