26 buildPythonPackage rec {
31 disabled = pythonOlder "3.8";
33 src = fetchFromGitHub {
34 owner = "guidance-ai";
36 rev = "refs/tags/${version}";
37 hash = "sha256-dvIJeSur3DdNBhrEPNPghxqmDEEig59Iz83LWksim6U=";
72 # require network access
80 "test_recursion_error"
81 "test_openai_class_detection"
82 "test_openai_chat_without_roles"
86 # require network access
87 "tests/library/test_gen.py"
94 pythonImportsCheck = [ "guidance" ];
96 __darwinAllowLocalNetworking = true;
99 description = "A guidance language for controlling large language models";
100 homepage = "https://github.com/guidance-ai/guidance";
101 changelog = "https://github.com/guidance-ai/guidance/releases/tag/${src.rev}";
102 license = licenses.mit;
103 maintainers = with maintainers; [ natsukium ];