nixpkgs/pkgs/shells/zsh/antibody/default.nix

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

36 lines
882 B
Nix
Raw Permalink Normal View History

2022-10-05 07:29:01 +00:00
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
2018-05-18 20:59:36 +00:00
buildGoModule rec {
2019-02-22 00:45:48 +00:00
pname = "antibody";
2020-09-04 02:37:50 +00:00
version = "6.1.1";
2018-08-05 19:00:55 +00:00
2018-05-18 20:59:36 +00:00
src = fetchFromGitHub {
2019-02-22 00:45:48 +00:00
owner = "getantibody";
repo = "antibody";
2018-12-02 03:20:04 +00:00
rev = "v${version}";
2023-09-21 14:23:40 +00:00
hash = "sha256-If7XAwtg1WqkDkrJ6qYED+DjwHWloPu3P7X9rUd5ikU=";
2018-05-18 20:59:36 +00:00
};
2023-09-21 14:23:40 +00:00
vendorHash = "sha256-0m+yDo+AMX5tZfOsjsZgulyjB9mVEjy2RfA2sYeqDn0=";
2018-05-18 20:59:36 +00:00
doCheck = false;
2021-08-26 06:45:51 +00:00
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
2020-03-13 22:32:40 +00:00
2018-05-18 20:59:36 +00:00
meta = with lib; {
description = "The fastest shell plugin manager";
mainProgram = "antibody";
2020-03-13 14:59:25 +00:00
homepage = "https://github.com/getantibody/antibody";
2018-12-02 03:20:04 +00:00
license = licenses.mit;
maintainers = with maintainers; [ Br1ght0ne ];
2022-10-05 07:29:01 +00:00
# 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;
2018-05-18 20:59:36 +00:00
};
}