48 buildPythonPackage rec {
53 disabled = pythonOlder "3.10";
55 src = fetchFromGitHub {
59 hash = "sha256-fpFjVX48+FOnC3x7LT5DSXiUHpFLkD4gm/HGHZpS2ZY=";
72 build-system = [ poetry-core ];
76 build # used in custom_components/custom_components.py
98 twine # used in custom_components/custom_components.py
106 nativeCheckInputs = [
120 export HOME="$(mktemp -d)"
124 # Tests touch network
125 "test_find_and_check_urls"
129 # /proc is too funky in nix sandbox
132 "test_potentially_dirty_substates" # AssertionError: Extra items in the left set
134 "test_preprocess" # KeyError: 'reflex___state____state'
135 "test_send" # AssertionError: Expected 'post' to have been called once. Called 0 times.
138 disabledTestPaths = [
143 pythonImportsCheck = [ "reflex" ];
146 description = "Web apps in pure Python";
147 homepage = "https://github.com/reflex-dev/reflex";
148 changelog = "https://github.com/reflex-dev/reflex/releases/tag/${src.tag}";
149 license = licenses.asl20;
150 maintainers = with maintainers; [ pbsds ];
151 mainProgram = "reflex";