1{ lib
2, fetchPypi
3, buildPythonPackage
4, watchdog
5}:
6
7buildPythonPackage rec {
8 pname = "easywatch";
9 version = "0.0.5";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "1b40cjigv7s9qj8hxxy6yhwv0320z7qywrigwgkasgh80q0xgphc";
14 };
15
16 propagatedBuildInputs = [ watchdog ];
17
18 # There are no tests
19 doCheck = false;
20 pythonImportsCheck = [ "easywatch" ];
21
22 meta = with lib; {
23 description = "Dead-simple way to watch a directory";
24 homepage = "https://github.com/Ceasar/easywatch";
25 license = licenses.mit;
26 maintainers = with maintainers; [ fgaz ];
27 };
28}
29