about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-03-28 16:42:16 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2024-03-28 20:24:14 +0100
commit5e0f3e5e36ce0a7a6ddb25ef9faf698c91250b3a (patch)
treeea15ed523c5a7b1972c1fbba156f3596fdff41b1
parent445c570f5e9826d180f965038b09899373e814ab (diff)
downloadnixlib-5e0f3e5e36ce0a7a6ddb25ef9faf698c91250b3a.tar
nixlib-5e0f3e5e36ce0a7a6ddb25ef9faf698c91250b3a.tar.gz
nixlib-5e0f3e5e36ce0a7a6ddb25ef9faf698c91250b3a.tar.bz2
nixlib-5e0f3e5e36ce0a7a6ddb25ef9faf698c91250b3a.tar.lz
nixlib-5e0f3e5e36ce0a7a6ddb25ef9faf698c91250b3a.tar.xz
nixlib-5e0f3e5e36ce0a7a6ddb25ef9faf698c91250b3a.tar.zst
nixlib-5e0f3e5e36ce0a7a6ddb25ef9faf698c91250b3a.zip
python312Packages.llama-index-graph-stores-neptune: init at 0.1.3
-rw-r--r--pkgs/development/python-modules/llama-index-graph-stores-neptune/default.nix42
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/llama-index-graph-stores-neptune/default.nix b/pkgs/development/python-modules/llama-index-graph-stores-neptune/default.nix
new file mode 100644
index 000000000000..869116b58c6b
--- /dev/null
+++ b/pkgs/development/python-modules/llama-index-graph-stores-neptune/default.nix
@@ -0,0 +1,42 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, boto3
+, llama-index-core
+, poetry-core
+, pythonOlder
+}:
+
+buildPythonPackage rec {
+  pname = "llama-index-graph-stores-neptune";
+  version = "0.1.3";
+  pyproject = true;
+
+  disabled = pythonOlder "3.8";
+
+  src = fetchPypi {
+    pname = "llama_index_graph_stores_neptune";
+    inherit version;
+    hash = "sha256-ZveFCJJT7Qal82cuVTs+3AmSuvdc7GsHqqqNvcDb3CY=";
+  };
+
+  build-system = [
+    poetry-core
+  ];
+
+  dependencies = [
+    boto3
+    llama-index-core
+  ];
+
+  pythonImportsCheck = [
+    "llama_index.graph_stores.neptune"
+  ];
+
+  meta = with lib; {
+    description = "LlamaIndex Graph Store Integration for Neptune";
+    homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/graph_stores/llama-index-graph-stores-neptune";
+    license = licenses.mit;
+    maintainers = with maintainers; [ fab ];
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index ff2435864fe3..e54ab6613cd4 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -6780,6 +6780,8 @@ self: super: with self; {
 
   llama-index-graph-stores-neo4j = callPackage ../development/python-modules/llama-index-graph-stores-neo4j { };
 
+  llama-index-graph-stores-neptune = callPackage ../development/python-modules/llama-index-graph-stores-neptune { };
+
   llama-index-indices-managed-llama-cloud = callPackage ../development/python-modules/llama-index-indices-managed-llama-cloud { };
 
   llama-index-legacy = callPackage ../development/python-modules/llama-index-legacy { };