14 buildPythonPackage rec {
16 version = "2022.7.27";
19 src = fetchFromGitHub {
23 hash = "sha256-VQn+Uzp6oGSit8ot0e8B0C2N41Q8+J+o91skyVN1gDA=";
27 # for some reason, REMI already deal with these using try blocks, but they fail
28 substituteInPlace test/test_widget.py \
30 "from html_validator import " \
31 "from .html_validator import "
32 substituteInPlace test/test_examples_app.py \
34 "from mock_server_and_request import " \
35 "from .mock_server_and_request import " \
37 "from html_validator import " \
38 "from .html_validator import "
39 # Halves number of warnings
40 substituteInPlace test/test_*.py \
42 "self.assertEquals(" \
46 build-system = [ setuptools ];
50 setuptools # pkg_resources is referenced at runtime
52 ++ lib.optionals (!pythonOlder "3.13") [
63 pythonImportsCheck = [
70 description = "Pythonic, lightweight and websocket-based webui library";
71 homepage = "https://github.com/rawpython/remi";
72 license = with lib.licenses; [ asl20 ];
73 maintainers = with lib.maintainers; [ pbsds ];