nixpkgs/pkgs/servers/wishlist/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
752 B
Nix
Raw Normal View History

2022-04-15 17:14:19 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "wishlist";
2023-05-05 05:39:12 +00:00
version = "0.11.0";
2022-04-15 17:14:19 +00:00
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "wishlist";
rev = "v${version}";
2023-05-05 05:39:12 +00:00
sha256 = "sha256-O2ciXaWH2QSoqDTnDxmqwgK/BM5WHye8JHfw9+zZxZ4=";
2022-04-15 17:14:19 +00:00
};
2023-05-05 05:39:12 +00:00
vendorHash = "sha256-wZugmCP3IouZ9pw3NEAZcoqdABMGTVi/IcithQjVFW4=";
2022-04-15 17:14:19 +00: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 ];
};
}