nixpkgs/pkgs/development/python-modules/watchgod/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
609 B
Nix
Raw Normal View History

2021-05-09 16:51:20 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, anyio
2021-05-09 16:51:20 +01:00
}:
buildPythonPackage rec {
pname = "watchgod";
version = "0.8.2";
2021-05-09 16:51:20 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-yxH/ZmV777qU2CjjtiLV+3byL72hN281Xz5uUel9lFA=";
2021-05-09 16:51:20 +01:00
};
propagatedBuildInputs = [
anyio
];
2021-05-09 16:51:20 +01:00
# 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 ];
};
}