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