python3Packages.hupper: 1.10.2 -> 1.10.3

master
Fabian Affolter 2021-06-08 20:47:48 +02:00 committed by Jonathan Ringer
parent 806ef6817a
commit c21b54701b
1 changed files with 15 additions and 5 deletions

View File

@ -3,25 +3,35 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pytest-cov
, watchdog
}:
buildPythonPackage rec {
pname = "hupper";
version = "1.10.2";
version = "1.10.3";
src = fetchPypi {
inherit pname version;
sha256 = "3818f53dabc24da66f65cf4878c1c7a9b5df0c46b813e014abdd7c569eb9a02a";
sha256 = "sha256-zW9Rtyx1h7ybzopl7NAloelfGwMoRRm/6RKE0BAxbNk=";
};
# FIXME: watchdog dependency is disabled on Darwin because of #31865, which causes very silent
# segfaults in the testsuite that end up failing the tests in a background thread (in myapp)
checkInputs = [ pytestCheckHook pytest-cov ] ++ lib.optional (!stdenv.isDarwin) watchdog;
checkInputs = [
pytestCheckHook
] ++ lib.optional (!stdenv.isDarwin) [
watchdog
];
disabledTestPaths = [
# Doesn't work with an exported home, RuntimeError: timeout waiting for change to file=/build/tmpgfn145cx
"tests/test_it.py"
];
pythonImportsCheck = [ "hupper" ];
meta = with lib; {
description = "in-process file monitor / reloader for reloading your code automatically during development";
description = "In-process file monitor/reloader for reloading your code automatically during development";
homepage = "https://github.com/Pylons/hupper";
license = licenses.mit;
maintainers = with maintainers; [ ];