2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools-scm
|
|
, pythonRelaxDepsHook
|
|
, requests
|
|
, pydantic
|
|
, aiohttp
|
|
, inflection
|
|
, fluent-logger
|
|
, toml
|
|
, click
|
|
, semver
|
|
, tiktoken
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "steamship";
|
|
version = "2.17.32";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-dTpz2/XXu8patDnorg/36652j9VLUjE5uF2fVzbDjfI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|