1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
8 owner = "charmbracelet";
11 sha256 = "sha256-RtUHJIMbodICEDIhjH/QZlAS7dxBsL/uNYA2IoObAg0=";
14 vendorHash = "sha256-V5azvQ8vMkgF2Myt6h5Gw09b+Xwg1XLyTImG52qQ+20=";
16 ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
19 description = "Manage your charm account on the CLI";
20 homepage = "https://github.com/charmbracelet/charm";
21 changelog = "https://github.com/charmbracelet/charm/releases/tag/v${version}";
22 license = licenses.mit;
23 maintainers = with maintainers; [ penguwin ];
24 mainProgram = "charm";