nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 686 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule (finalAttrs: { 8 pname = "gocheat"; 9 version = "0.1.1"; 10 11 src = fetchFromGitHub { 12 owner = "Achno"; 13 repo = "gocheat"; 14 tag = "v${finalAttrs.version}"; 15 hash = "sha256-9Xw1GVfqk0Se8pLx3vzqR+f9GgX4LDo/H3iq1fzoTRs="; 16 }; 17 18 vendorHash = "sha256-CByVf4+WWUlFGJcqt7aq5bHXiLMjdHTKvv6PQYEbLqc="; 19 20 ldflags = [ 21 "-s" 22 "-w" 23 ]; 24 25 meta = { 26 description = "TUI Cheatsheet for keybindings, hotkeys and more"; 27 homepage = "https://github.com/Achno/gocheat"; 28 license = lib.licenses.mit; 29 maintainers = with lib.maintainers; [ 30 koi 31 sebaguardian 32 ]; 33 mainProgram = "gocheat"; 34 }; 35})