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
754 B
Nix
Raw Normal View History

2022-04-15 17:14:19 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "wishlist";
2022-05-15 12:23:33 +00:00
version = "0.5.0";
2022-04-15 17:14:19 +00:00
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "wishlist";
rev = "v${version}";
2022-05-15 12:23:33 +00:00
sha256 = "sha256-J9Wd2CyQo8vzfE2jXQzbNA+oihG71F3ZQmEW/r0a72I=1";
2022-04-15 17:14:19 +00:00
};
2022-05-15 12:23:33 +00:00
vendorSha256 = "sha256-5+wuavHLXwjtvwA9tSpdF2Zd8tw5FklzvaTeCZlA4WQ=";
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 ];
};
}