at 25.11-pre 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 buildPythonPackage, 5 fetchPypi, 6 pytestCheckHook, 7 watchdog, 8}: 9 10buildPythonPackage rec { 11 pname = "hupper"; 12 version = "1.12.1"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-Br9UFw/07PTIStXxiN7jkBFzq0ScJgitBbm/1rE+Mus="; 18 }; 19 20 # FIXME: watchdog dependency is disabled on Darwin because of #31865, which causes very silent 21 # segfaults in the testsuite that end up failing the tests in a background thread (in myapp) 22 nativeCheckInputs = [ 23 pytestCheckHook 24 ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ watchdog ]; 25 26 disabledTestPaths = [ 27 # Doesn't work with an exported home, RuntimeError: timeout waiting for change to file=/build/tmpgfn145cx 28 "tests/test_it.py" 29 ]; 30 31 pythonImportsCheck = [ "hupper" ]; 32 33 meta = with lib; { 34 description = "In-process file monitor/reloader for reloading your code automatically during development"; 35 mainProgram = "hupper"; 36 homepage = "https://github.com/Pylons/hupper"; 37 license = licenses.mit; 38 maintainers = [ ]; 39 }; 40}