biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / charm / default.nix
blobbf3520d4634e15c3b4ab01eee5d0c91f65937af9
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "charm";
5   version = "0.12.6";
7   src = fetchFromGitHub {
8     owner = "charmbracelet";
9     repo = "charm";
10     rev = "v${version}";
11     sha256 = "sha256-RtUHJIMbodICEDIhjH/QZlAS7dxBsL/uNYA2IoObAg0=";
12   };
14   vendorHash = "sha256-V5azvQ8vMkgF2Myt6h5Gw09b+Xwg1XLyTImG52qQ+20=";
16   ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
18   meta = with lib; {
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";
25   };