2022-04-15 19:14:19 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "wishlist";
|
2023-11-20 04:07:33 +01:00
|
|
|
version = "0.14.1";
|
2022-04-15 19:14:19 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "charmbracelet";
|
|
|
|
repo = "wishlist";
|
|
|
|
rev = "v${version}";
|
2023-11-20 04:07:33 +01:00
|
|
|
sha256 = "sha256-B4p2j/U+vTiku7rTj5Ho6BY84kjrNHLDIkI9pZZdmHI=";
|
2022-04-15 19:14:19 +02:00
|
|
|
};
|
|
|
|
|
2023-11-20 04:07:33 +01:00
|
|
|
vendorHash = "sha256-kfeIEpe6g4T9joAZesgqdE5dd9UD9+a0nALceKq1/zc=";
|
2022-04-15 19:14:19 +02: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;
|
2023-07-17 15:57:53 +02:00
|
|
|
maintainers = with maintainers; [ caarlos0 penguwin ];
|
2023-11-23 22:09:35 +01:00
|
|
|
mainProgram = "wishlist";
|
2022-04-15 19:14:19 +02:00
|
|
|
};
|
|
|
|
}
|