2019-03-20 02:11:57 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-05-18 21:59:36 +01:00
|
|
|
|
2019-03-20 02:11:57 +00:00
|
|
|
buildGoModule rec {
|
2019-02-22 00:45:48 +00:00
|
|
|
pname = "antibody";
|
2020-09-04 03:37:50 +01:00
|
|
|
version = "6.1.1";
|
2018-08-05 20:00:55 +01:00
|
|
|
|
2018-05-18 21:59:36 +01: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-09-04 03:37:50 +01:00
|
|
|
sha256 = "0icag53svzdm7yvzp855fp0f7q0g0jkfmjaa1sj6mmb01c1xgzi1";
|
2018-05-18 21:59:36 +01:00
|
|
|
};
|
|
|
|
|
2020-07-16 02:11:42 +01:00
|
|
|
vendorSha256 = "0z8fma3v2dph8nv3q4lmv43s6p5sc338xb7kcmnpwcc0iw7b4vyj";
|
2018-05-18 21:59:36 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-13 22:32:40 +00:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
|
2018-05-18 21:59:36 +01: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;
|
2019-11-11 11:51:02 +00:00
|
|
|
maintainers = with maintainers; [ filalex77 worldofpeace ];
|
2018-05-18 21:59:36 +01:00
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|