depot/third_party/nixpkgs/pkgs/shells/zsh/antibody/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

35 lines
878 B
Nix

{ lib, stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "antibody";
version = "6.1.1";
src = fetchFromGitHub {
owner = "getantibody";
repo = "antibody";
rev = "v${version}";
hash = "sha256-If7XAwtg1WqkDkrJ6qYED+DjwHWloPu3P7X9rUd5ikU=";
};
vendorHash = "sha256-0m+yDo+AMX5tZfOsjsZgulyjB9mVEjy2RfA2sYeqDn0=";
doCheck = false;
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
meta = with lib; {
description = "Fastest shell plugin manager";
mainProgram = "antibody";
homepage = "https://github.com/getantibody/antibody";
license = licenses.mit;
maintainers = with maintainers; [ Br1ght0ne ];
# golang.org/x/sys needs to be updated due to:
#
# https://github.com/golang/go/issues/49219
#
# but this package is no longer maintained.
#
broken = stdenv.isDarwin;
};
}