2026-02-14 07:15:06 +01:00
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
buildGoModule,
|
|
|
|
|
fetchFromGitHub,
|
|
|
|
|
nix-update-script,
|
|
|
|
|
}:
|
|
|
|
|
buildGoModule (finalAttrs: {
|
|
|
|
|
pname = "notesmd-cli";
|
2026-03-07 03:03:14 +01:00
|
|
|
version = "0.3.2";
|
2026-02-14 07:15:06 +01:00
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "Yakitrak";
|
|
|
|
|
repo = "notesmd-cli";
|
|
|
|
|
tag = "v${finalAttrs.version}";
|
2026-03-07 03:03:14 +01:00
|
|
|
hash = "sha256-/yewtA5eJ4hxwZ4bBx8Pef+/TSY6Hfv15AAB9lxsW+4=";
|
2026-02-14 07:15:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
vendorHash = null;
|
|
|
|
|
|
|
|
|
|
ldflags = ["-s" "-w"];
|
|
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script {};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Obsidian CLI (Community) - Interact with Obsidian in the terminal";
|
|
|
|
|
homepage = "https://github.com/Yakitrak/notesmd-cli";
|
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
|
mainProgram = "notesmd-cli";
|
|
|
|
|
};
|
|
|
|
|
})
|