2022-04-15 18:14:19 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "wishlist";
|
2023-01-27 21:34:50 +00:00
|
|
|
version = "0.9.0";
|
2022-04-15 18:14:19 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "charmbracelet";
|
|
|
|
repo = "wishlist";
|
|
|
|
rev = "v${version}";
|
2023-01-27 21:34:50 +00:00
|
|
|
sha256 = "sha256-ZffVc/nLWaiUhg0DcLfDTiGVuK0MCSOpBd2gVG2rT0c=";
|
2022-04-15 18:14:19 +01:00
|
|
|
};
|
|
|
|
|
2023-01-27 21:34:50 +00:00
|
|
|
vendorHash = "sha256-FUTyTdGqdzuObpYW1ZSnhj24+MJiYG1NmSU4BZ6SlHM=";
|
2022-04-15 18:14:19 +01:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A single entrypoint for multiple SSH endpoints";
|
|
|
|
homepage = "https://github.com/charmbracelet/wishlist";
|
|
|
|
changelog = "https://github.com/charmbracelet/wishlist/releases/tag/v${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ penguwin ];
|
|
|
|
};
|
|
|
|
}
|