mirror of
https://github.com/charmbracelet/gum.git
synced 2024-09-11 06:16:03 +03:00
* flake: change pkg source to unstable * flake.lock: update * default.nix: update vendorhash and add ldflags
13 lines
219 B
Nix
13 lines
219 B
Nix
{ pkgs }:
|
|
|
|
pkgs.buildGoModule rec {
|
|
pname = "gum";
|
|
version = "0.14.0";
|
|
|
|
src = ./.;
|
|
|
|
vendorHash = "sha256-gDDaKrwlrJyyDzgyGf9iP/XPnOAwpkvIyzCXobXrlF4=";
|
|
|
|
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
|
|
}
|