{ lib, buildGoModule, fetchFromGitHub, nix-update-script, }: buildGoModule (finalAttrs: { pname = "notesmd-cli"; version = "0.3.2"; src = fetchFromGitHub { owner = "Yakitrak"; repo = "notesmd-cli"; tag = "v${finalAttrs.version}"; hash = "sha256-/yewtA5eJ4hxwZ4bBx8Pef+/TSY6Hfv15AAB9lxsW+4="; }; 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"; }; })