mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
icm: 0.10.53 -> 0.10.61
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
git,
|
||||
makeBinaryWrapper,
|
||||
pkg-config,
|
||||
openssl,
|
||||
nix-update-script,
|
||||
@@ -12,19 +13,20 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "icm";
|
||||
version = "0.10.53";
|
||||
version = "0.10.61";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rtk-ai";
|
||||
repo = "icm";
|
||||
tag = "icm-v${finalAttrs.version}";
|
||||
hash = "sha256-fx7RPt32Vuy0j+Ab9VtqXoJ/+Ql5h4ORNPYwARlll0U=";
|
||||
hash = "sha256-dIZxq29umqRt81g0Y7RY90oAgf+ockrKfwPvFd8k8tU=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-5xlgEjQWPQEtLDzP403lFIEa2dvdsX6HujWMmCiFnD8=";
|
||||
cargoHash = "sha256-1YZ1GYnRxxbXXIG7d0+Nd8z2MhL8JQuuLexWNCmA+Ic=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeBinaryWrapper
|
||||
pkg-config
|
||||
];
|
||||
|
||||
@@ -36,11 +38,18 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
# Build the HTTP dashboard
|
||||
buildFeatures = [ "web" ];
|
||||
|
||||
# The project-detection tests shell out to `git` (init, worktree add, ...)
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/icm \
|
||||
--suffix PATH : ${lib.makeBinPath [ git ]}
|
||||
'';
|
||||
env = {
|
||||
# Use system OpenSSL instead of vendoring it
|
||||
OPENSSL_NO_VENDOR = "1";
|
||||
# Point ort (ONNX Runtime bindings) at the system library
|
||||
ORT_STRATEGY = "system";
|
||||
ORT_LIB_LOCATION = "${lib.getLib onnxruntime}/lib";
|
||||
};
|
||||
|
||||
@@ -59,10 +68,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
meta = {
|
||||
description = "Permanent memory system for AI agents with MCP integration";
|
||||
homepage = "https://github.com/rtk-ai/icm";
|
||||
changelog = "https://github.com/rtk-ai/icm/releases/tag/icm-v${finalAttrs.version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ jpds ];
|
||||
mainProgram = "icm";
|
||||
platforms = lib.platforms.unix;
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
badPlatforms = lib.platforms.darwin;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user