2021-02-16 22:17:47 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
, watchdog
|
2017-09-25 11:39:07 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hupper";
|
2021-06-08 18:47:48 +00:00
|
|
|
version = "1.10.3";
|
2017-09-25 11:39:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-08 18:47:48 +00:00
|
|
|
sha256 = "sha256-zW9Rtyx1h7ybzopl7NAloelfGwMoRRm/6RKE0BAxbNk=";
|
2017-09-25 11:39:07 +00:00
|
|
|
};
|
|
|
|
|
2017-11-20 14:08:27 +00:00
|
|
|
# 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)
|
2021-06-08 18:47:48 +00:00
|
|
|
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" ];
|
2021-02-16 22:17:47 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2021-06-08 18:47:48 +00:00
|
|
|
description = "In-process file monitor/reloader for reloading your code automatically during development";
|
2021-02-16 22:17:47 +00:00
|
|
|
homepage = "https://github.com/Pylons/hupper";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
2017-09-25 11:39:07 +00:00
|
|
|
}
|