1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 llm, 7 llm-deepseek, 8}: 9 10buildPythonPackage rec { 11 pname = "llm-deepseek"; 12 version = "0.1.6"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "abrasumente233"; 17 repo = "llm-deepseek"; 18 tag = version; 19 hash = "sha256-yrNvIGnU9Q/0H786DsM0wGEwfxZYIk8IXhqC4mWaQAA="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ llm ]; 25 26 pythonImportsCheck = [ "llm_deepseek" ]; 27 28 passthru.tests = llm.mkPluginTest llm-deepseek; 29 30 meta = { 31 description = "LLM plugin providing access to Deepseek models."; 32 homepage = "https://github.com/abrasumente233/llm-deepseek"; 33 changelog = "https://github.com/abrasumente233/llm-deepseek/releases/tag/${version}/CHANGELOG.md"; 34 license = lib.licenses.asl20; 35 maintainers = with lib.maintainers; [ philiptaron ]; 36 }; 37}