3
0
Fork 0
forked from mirrors/nixpkgs
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
753 B
Nix
Raw Normal View History

2022-04-15 18:14:19 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "wishlist";
2022-10-25 09:31:46 +01:00
version = "0.8.0";
2022-04-15 18:14:19 +01:00
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "wishlist";
rev = "v${version}";
2022-10-25 09:31:46 +01:00
sha256 = "sha256-oaptZaXG7qFjTPeasM4NjOBfa9jsEzqg+kKTge1mXv4=";
2022-04-15 18:14:19 +01:00
};
2022-10-25 09:31:46 +01:00
vendorSha256 = "sha256-Ifn230KHFDQ1RaKAVnd8EBsBZdpJY4Dx/KO+o1cm50k=";
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 ];
};
}