python3Packages.replicate: init at 0.34.1 (#345710)
This commit is contained in:
commit
c9391bccb0
53
pkgs/development/python-modules/replicate/default.nix
Normal file
53
pkgs/development/python-modules/replicate/default.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
httpx,
|
||||
packaging,
|
||||
pydantic,
|
||||
typing-extensions,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
pytest-recording,
|
||||
respx,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "replicate";
|
||||
version = "0.34.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "replicate";
|
||||
repo = "replicate-python";
|
||||
rev = version;
|
||||
hash = "sha256-DhmuGh0OASd4rBvizf1qx537j4RGs4eVe0jH1BrhZa4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
httpx
|
||||
packaging
|
||||
pydantic
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "replicate" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-recording
|
||||
respx
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python client for Replicate";
|
||||
homepage = "https://replicate.com/";
|
||||
changelog = "https://github.com/replicate/replicate-python/releases/tag/${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ jokatzke ];
|
||||
};
|
||||
}
|
||||
@ -13521,6 +13521,8 @@ self: super: with self; {
|
||||
|
||||
repl-python-wakatime = callPackage ../development/python-modules/repl-python-wakatime { };
|
||||
|
||||
replicate = callPackage ../development/python-modules/replicate { };
|
||||
|
||||
repocheck = callPackage ../development/python-modules/repocheck { };
|
||||
|
||||
reportlab = callPackage ../development/python-modules/reportlab { };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user