Replace rev = "main" with the specific commit hash 64eba96c0a9b663ef3a206c8f07b71ab34f46df4 to ensure reproducible builds. Using branch names as revisions can cause unexpected changes when the upstream branch advances.
27 lines
699 B
Nix
27 lines
699 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "perles";
|
|
version = "unstable-2025-01-09";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zjrosen";
|
|
repo = "perles";
|
|
rev = "64eba96c0a9b663ef3a206c8f07b71ab34f46df4";
|
|
hash = "sha256-JgRayb4+mJ1r0AtdnQfqAw2+QRte+licsfZOaRgYqcs=";
|
|
};
|
|
|
|
vendorHash = "sha256-R7UWTdBuPteneRqxrWK51nqLtZwDsqQoMAcohN4fyak=";
|
|
|
|
# Tests require a real git repository context
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "A TUI for the Beads issue tracking system with BQL query language";
|
|
homepage = "https://github.com/zjrosen/perles";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
mainProgram = "perles";
|
|
};
|
|
}
|