about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/watchgod/default.nix
blob: 5bb8425864226039baa9928e5d210710a2dc6535 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "watchgod";
  version = "0.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0aagm0n5fkpzdsfgl0r21gkz5qaicgq3f4rqz2fdvsgbn1i0s528";
  };

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

}