1{ lib
2, stdenv
3, buildPythonPackage
4, fetchPypi
5, pytestCheckHook
6, pytest-cov
7, watchdog
8}:
9
10buildPythonPackage rec {
11 pname = "hupper";
12 version = "1.10.2";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "3818f53dabc24da66f65cf4878c1c7a9b5df0c46b813e014abdd7c569eb9a02a";
17 };
18
19 # FIXME: watchdog dependency is disabled on Darwin because of #31865, which causes very silent
20 # segfaults in the testsuite that end up failing the tests in a background thread (in myapp)
21 checkInputs = [ pytestCheckHook pytest-cov ] ++ lib.optional (!stdenv.isDarwin) watchdog;
22
23 meta = with lib; {
24 description = "in-process file monitor / reloader for reloading your code automatically during development";
25 homepage = "https://github.com/Pylons/hupper";
26 license = licenses.mit;
27 maintainers = with maintainers; [ ];
28 };
29}