12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.8.1";
19 src = fetchFromGitHub {
22 rev = "refs/tags/${version}";
23 hash = "sha256-rrPs5ZwBooltVcvrs4AHObx69xmZ8F+IP/lJGPVTNXY=";
26 propagatedBuildInputs = [
34 # many tests require network access and complicated dependencies
37 pythonImportsCheck = [ "gptcache" ];
40 description = "Semantic cache for LLMs and fully integrated with LangChain and llama_index";
41 homepage = "https://github.com/zilliztech/GPTCache";
42 changelog = "https://github.com/zilliztech/GPTCache/releases/tag/${src.rev}";
43 license = licenses.mit;
44 maintainers = with maintainers; [ natsukium ];