update/navibeat
 1{
 2  lib,
 3  buildGoModule,
 4  fetchFromTangled,
 5}:
 6buildGoModule {
 7  pname = "stinkpot";
 8  version = "0-unstable-2026-09-16";
 9
10  src = fetchFromTangled {
11    did = "did:plc:wqstj3k5tslmm246baaf3tpa";
12    rev = "71ecf8b2ebcb0a0509040fba7622205ea243627a";
13    hash = "sha256-Ku4xDZwvtGcMADQ0xrzznyHLQjEttDJTF2jzP8Yhgv8=";
14  };
15
16  passthru.updateScript = [(toString ./update.sh)];
17
18  vendorHash = "sha256-IVPACl1oWnBKGzcXvG5gzev8MwhzIKNI7zwEKJjhFc8=";
19
20  env.CGO_ENABLED = "0";
21
22  ldflags = [
23    "-s"
24    "-w"
25  ];
26
27  meta = {
28    description = "sqlite-backed shell history";
29    homepage = "https://tangled.org/oppi.li/stinkpot";
30    mainProgram = "stinkpot";
31    platforms = lib.platforms.unix;
32  };
33}