feat: improve nix-update workflow and update packages
- Refactor nix-update.yml: push directly to master instead of PRs - Add skip list for packages without upstream releases - Add opencode subpackage handling for node_modules - Add nix-update-script to beads, code2prompt, mem0 - Update mem0: 1.0.0 -> 1.0.2 - Update opencode: 1.1.18 -> 1.1.25 - Fix n8n tag format - Add n8n update.sh helper script
This commit is contained in:
@@ -1,18 +1,19 @@
|
||||
{
|
||||
lib,
|
||||
nix-update-script,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
python3.pkgs.buildPythonPackage rec {
|
||||
pname = "mem0ai";
|
||||
version = "1.0.0";
|
||||
version = "1.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mem0ai";
|
||||
repo = "mem0";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-DluzIhwL/GanqtRSMW7ax+OVc2kZjbwQ0lpPCQFnD58=";
|
||||
hash = "sha256-wvIPmqYlpto+ggifdSOjveEmSneKeZcoltItusYSu4Q=";
|
||||
};
|
||||
|
||||
# Relax Python dependency version constraints
|
||||
@@ -80,6 +81,8 @@ python3.pkgs.buildPythonPackage rec {
|
||||
install -Dm755 ${./server.py} $out/bin/mem0-server
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script {};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Long-term memory layer for AI agents with REST API support";
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user