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

24 lines
657 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2018-05-18 20:59:36 +00:00
buildGoModule rec {
2019-02-22 00:45:48 +00:00
pname = "antibody";
2020-03-27 14:24:22 +00:00
version = "6.0.0";
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}";
2020-03-27 14:24:22 +00:00
sha256 = "0m7c879b3f402av20jsybq2dhhckbknlvn2n1csp7xmcz4zcyn1n";
2018-05-18 20:59:36 +00:00
};
vendorSha256 = "072kxr68p9f58w2q98fjcn4wzd5szy5l5sz8sh4ssapljvic2lam";
2018-05-18 20:59:36 +00:00
2020-03-13 22:32:40 +00:00
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
2018-05-18 20:59:36 +00:00
meta = with lib; {
description = "The fastest shell plugin manager";
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; [ filalex77 worldofpeace ];
2018-05-18 20:59:36 +00:00
};
}