mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
picoclaw
This commit is contained in:
@@ -251,6 +251,7 @@
|
|||||||
morris = prev.callPackage packages/morris.nix { };
|
morris = prev.callPackage packages/morris.nix { };
|
||||||
cro = prev.callPackage packages/cro.nix { };
|
cro = prev.callPackage packages/cro.nix { };
|
||||||
exodus = prev.callPackage packages/exodus.nix { };
|
exodus = prev.callPackage packages/exodus.nix { };
|
||||||
|
picoclaw = prev.callPackage packages/picoclaw.nix { };
|
||||||
dmenu = prev.writers.writeDashBin "dmenu" ''exec ${final.rofi}/bin/rofi -dmenu "$@"'';
|
dmenu = prev.writers.writeDashBin "dmenu" ''exec ${final.rofi}/bin/rofi -dmenu "$@"'';
|
||||||
weechatScripts = prev.weechatScripts // {
|
weechatScripts = prev.weechatScripts // {
|
||||||
hotlist2extern = prev.callPackage packages/weechatScripts/hotlist2extern.nix { }; # TODO upstream
|
hotlist2extern = prev.callPackage packages/weechatScripts/hotlist2extern.nix { }; # TODO upstream
|
||||||
@@ -597,6 +598,7 @@
|
|||||||
notemenu
|
notemenu
|
||||||
obsidian-vim
|
obsidian-vim
|
||||||
opustags
|
opustags
|
||||||
|
picoclaw
|
||||||
pls
|
pls
|
||||||
polyglot
|
polyglot
|
||||||
q
|
q
|
||||||
|
|||||||
34
packages/picoclaw.nix
Normal file
34
packages/picoclaw.nix
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoModule (finalAttrs: {
|
||||||
|
pname = "picoclaw";
|
||||||
|
version = "0.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sipeed";
|
||||||
|
repo = "picoclaw";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-nx/D8ir4/l0pTnMNORby2FNtU+ouKT0DUjP2vpJLmPk=";
|
||||||
|
};
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace go.mod --replace "go 1.25.7" "go 1.25.5"
|
||||||
|
'';
|
||||||
|
proxyVendor = true;
|
||||||
|
|
||||||
|
# Set to lib.fakeHash or empty initially, then update with the actual hash Nix reports.
|
||||||
|
vendorHash = "sha256-XKwYmbMyf4yg/E4Yv0uMS9v0oAuMZJwvoaAPCL/1AAY=";
|
||||||
|
|
||||||
|
subPackages = [ "cmd/picoclaw" ];
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-s" "-w"
|
||||||
|
"-X main.version=${finalAttrs.version}"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Ultra-efficient AI Assistant in Go for $10 hardware";
|
||||||
|
homepage = "https://github.com/sipeed/picoclaw";
|
||||||
|
license = licenses.mit; # Verify license in the repo
|
||||||
|
maintainers = [];
|
||||||
|
};
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user