1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5, pythonRelaxDepsHook 6, requests 7, pydantic 8, aiohttp 9, inflection 10, fluent-logger 11, toml 12, click 13, semver 14, tiktoken 15}: 16 17buildPythonPackage rec { 18 pname = "steamship"; 19 version = "2.17.32"; 20 format = "pyproject"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-dTpz2/XXu8patDnorg/36652j9VLUjE5uF2fVzbDjfI="; 25 }; 26 27 pythonRelaxDeps = [ 28 "requests" 29 ]; 30 31 nativeBuildInputs = [ 32 setuptools-scm 33 pythonRelaxDepsHook 34 ]; 35 36 propagatedBuildInputs = [ 37 requests 38 pydantic 39 aiohttp 40 inflection 41 fluent-logger 42 toml 43 click 44 semver 45 tiktoken 46 ]; 47 48 # almost all tests require "steamship api key" 49 doCheck = false; 50 51 pythonImportsCheck = [ 52 "steamship" 53 ]; 54 55 meta = with lib; { 56 description = "The fastest way to add language AI to your product"; 57 homepage = "https://www.steamship.com/"; 58 changelog = "https://github.com/steamship-core/python-client/releases/tag/${version}"; 59 license = licenses.mit; 60 maintainers = with maintainers; [ natsukium ]; 61 }; 62}