about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/llama-index-readers-json/default.nix
blob: c29dcd78c4337056cc88c4a7c84ff87cd3bc27e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, buildPythonPackage
, fetchFromGitHub
, llama-index-core
, poetry-core
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "llama-index-readers-json";
  version = "0.1.2";

  inherit (llama-index-core) src meta;

  pyproject = true;

  sourceRoot = "${src.name}/llama-index-integrations/readers/${pname}";

  nativeBuildInputs = [
    poetry-core
  ];

  propagatedBuildInputs = [
    llama-index-core
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "llama_index.readers.json"
  ];
}