depot/third_party/nixpkgs/pkgs/development/python-modules/watchgod/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

32 lines
609 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, anyio
}:
buildPythonPackage rec {
pname = "watchgod";
version = "0.8.2";
src = fetchPypi {
inherit pname version;
sha256 = "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";
homepage = "https://github.com/samuelcolvin/watchgod";
license = licenses.mit;
maintainers = with maintainers; [ globin ];
};
}