depot/third_party/nixpkgs/pkgs/development/python-modules/watchgod/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

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 ];
};
}