1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 pythonOlder, 7 reflex, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "reflex-chakra"; 13 version = "0.8.2"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.9"; 17 18 src = fetchFromGitHub { 19 owner = "reflex-dev"; 20 repo = "reflex-chakra"; 21 tag = "v${version}"; 22 hash = "sha256-6KWIpTtr2tNBxXoj2hY0zuX0bpSUvsoA1Y7uwln3HDY="; 23 }; 24 25 build-system = [ 26 hatchling 27 ]; 28 dependencies = [ reflex ]; 29 30 pythonImportsCheck = [ "reflex_chakra" ]; 31 32 nativeCheckInputs = [ pytestCheckHook ]; 33 34 # there are no "test_*.py" files, and the 35 # other files with `test_*` functions are not maintained it seems 36 doCheck = false; 37 38 meta = { 39 description = "Chakra Implementation in Reflex"; 40 homepage = "https://github.com/reflex-dev/reflex-chakra"; 41 changelog = "https://github.com/reflex-dev/reflex-chakra/releases/tag/${src.tag}"; 42 license = lib.licenses.asl20; 43 maintainers = with lib.maintainers; [ fab ]; 44 }; 45}