13 buildPythonPackage rec {
14 pname = "watchdog-gevent";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
22 repo = "watchdog_gevent";
23 rev = "refs/tags/v${version}";
24 hash = "sha256-FESm3fNuLmOg2ilI/x8U9LuAimHLnahcTHYzW/nzOVY=";
28 # Add new event_filter argument to GeventEmitter
30 name = "new-event_filter-argument.patch";
31 url = "https://github.com/Bogdanp/watchdog_gevent/commit/a98b6599aefb6f1ea6f9682485ed460c52f6e55f.patch";
32 hash = "sha256-lbUtl8IbnJjlsIpbC+wXLvYB+ZtUuHWqFtf31Bfqc2I=";
38 -e 's:--cov watchdog_gevent::' \
39 -e 's:--cov-report html::'
42 build-system = [ setuptools ];
49 nativeCheckInputs = [ pytestCheckHook ];
51 pythonImportsCheck = [ "watchdog_gevent" ];
54 description = "Gevent-based observer for watchdog";
55 homepage = "https://github.com/Bogdanp/watchdog_gevent";
56 license = licenses.asl20;
57 maintainers = with maintainers; [ traxys ];