2019-03-20 03:11:57 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-05-18 22:59:36 +02:00
|
|
|
|
2019-03-20 03:11:57 +01:00
|
|
|
buildGoModule rec {
|
2019-02-22 01:45:48 +01:00
|
|
|
pname = "antibody";
|
2020-03-13 15:59:25 +01:00
|
|
|
version = "4.3.1";
|
2018-08-05 21:00:55 +02:00
|
|
|
|
2018-05-18 22:59:36 +02:00
|
|
|
src = fetchFromGitHub {
|
2019-02-22 01:45:48 +01:00
|
|
|
owner = "getantibody";
|
|
|
|
repo = "antibody";
|
2018-12-02 04:20:04 +01:00
|
|
|
rev = "v${version}";
|
2020-03-13 15:59:25 +01:00
|
|
|
sha256 = "1cxg0173d3xnpyzbisj926vh3qql9rw3q4j1z900m34gw7cvsdpf";
|
2018-05-18 22:59:36 +02:00
|
|
|
};
|
|
|
|
|
2020-03-13 15:59:25 +01:00
|
|
|
modSha256 = "08k4mzqcva7yq1zmfxhlqnd8kk70zry6cfghxl1bgmhnfjqh61qr";
|
2018-05-18 22:59:36 +02:00
|
|
|
|
2020-03-13 23:32:40 +01:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
|
2018-05-18 22:59:36 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "The fastest shell plugin manager";
|
2020-03-13 15:59:25 +01:00
|
|
|
homepage = "https://github.com/getantibody/antibody";
|
2018-12-02 04:20:04 +01:00
|
|
|
license = licenses.mit;
|
2019-11-11 12:51:02 +01:00
|
|
|
maintainers = with maintainers; [ filalex77 worldofpeace ];
|
2018-05-18 22:59:36 +02:00
|
|
|
};
|
|
|
|
}
|