2023-05-24 13:37:59 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools-scm
|
|
|
|
, pythonRelaxDepsHook
|
|
|
|
, requests
|
|
|
|
, pydantic
|
|
|
|
, aiohttp
|
|
|
|
, inflection
|
|
|
|
, fluent-logger
|
|
|
|
, toml
|
|
|
|
, click
|
|
|
|
, semver
|
|
|
|
, tiktoken
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "steamship";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "2.17.11";
|
2023-05-24 13:37:59 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-Jy7ORAMnrBSeDZob3KcAnqhLBI1az/g6s30BYPA0bTE=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pythonRelaxDeps = [
|
|
|
|
"requests"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
pythonRelaxDepsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
pydantic
|
|
|
|
aiohttp
|
|
|
|
inflection
|
|
|
|
fluent-logger
|
|
|
|
toml
|
|
|
|
click
|
|
|
|
semver
|
|
|
|
tiktoken
|
|
|
|
];
|
|
|
|
|
|
|
|
# almost all tests require "steamship api key"
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"steamship"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The fastest way to add language AI to your product";
|
|
|
|
homepage = "https://www.steamship.com/";
|
|
|
|
changelog = "https://github.com/steamship-core/python-client/releases/tag/${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ natsukium ];
|
|
|
|
};
|
|
|
|
}
|