depot/third_party/nixpkgs/pkgs/development/python-modules/steamship/default.nix
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

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.22";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-PQI6r2DoarswjTc8jp+nrJqkmckQ6+eGuI0MU8kvnM8=";
};
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 ];
};
}