evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / replicate / default.nix
blobf2b6f3d00b4cc4b2611bb9da773b7f17261c7b28
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   httpx,
7   packaging,
8   pydantic,
9   typing-extensions,
10   pytestCheckHook,
11   pytest-asyncio,
12   pytest-recording,
13   respx,
16 buildPythonPackage rec {
17   pname = "replicate";
18   version = "1.0.1";
19   pyproject = true;
21   src = fetchFromGitHub {
22     owner = "replicate";
23     repo = "replicate-python";
24     rev = "refs/tags/${version}";
25     hash = "sha256-q//RV4Y9k2KXXgZGfBF/XObxsBfAHE50oG+r/Vvu9BY=";
26   };
28   build-system = [ setuptools ];
30   dependencies = [
31     httpx
32     packaging
33     pydantic
34     typing-extensions
35   ];
37   pythonImportsCheck = [ "replicate" ];
39   nativeCheckInputs = [
40     pytestCheckHook
41     pytest-asyncio
42     pytest-recording
43     respx
44   ];
46   meta = {
47     description = "Python client for Replicate";
48     homepage = "https://replicate.com/";
49     changelog = "https://github.com/replicate/replicate-python/releases/tag/${version}";
50     license = lib.licenses.asl20;
51     maintainers = with lib.maintainers; [ jokatzke ];
52   };