summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/easywatch/default.nix
blob: ee3c39a3ca42195b02dc4a6bef0320f1cdfde39a (plain)
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
28
29
30
{
  lib,
  fetchPypi,
  buildPythonPackage,
  watchdog,
}:

buildPythonPackage rec {
  pname = "easywatch";
  version = "0.0.5";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1b40cjigv7s9qj8hxxy6yhwv0320z7qywrigwgkasgh80q0xgphc";
  };

  propagatedBuildInputs = [ watchdog ];

  # There are no tests
  doCheck = false;
  pythonImportsCheck = [ "easywatch" ];

  meta = {
    description = "Dead-simple way to watch a directory";
    homepage = "https://github.com/Ceasar/easywatch";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fgaz ];
  };
}