2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-05-20 21:02:01 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
2020-10-02 21:47:58 +00:00
|
|
|
pname = "kapowbang";
|
2021-03-13 07:35:05 +00:00
|
|
|
version = "0.7.0";
|
2020-05-20 21:02:01 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BBVA";
|
2020-10-02 21:47:58 +00:00
|
|
|
repo = "kapow";
|
2020-05-20 21:02:01 +00:00
|
|
|
rev = "v${version}";
|
2021-03-13 07:35:05 +00:00
|
|
|
sha256 = "sha256-0ftdc3ol1g0WnZgicXl46Xpph4cUYk/G/eeu+9JnPyA=";
|
2020-05-20 21:02:01 +00:00
|
|
|
};
|
|
|
|
|
2021-03-13 07:35:05 +00:00
|
|
|
vendorSha256 = "sha256-41Jk3aTe4EA5dwkriEo48QNJg2k3T/R/8i8XWcURcG8=";
|
2020-05-20 21:02:01 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-05-20 21:02:01 +00:00
|
|
|
homepage = "https://github.com/BBVA/kapow";
|
|
|
|
description = "Expose command-line tools over HTTP";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ nilp0inter ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "kapow";
|
2020-05-20 21:02:01 +00:00
|
|
|
};
|
|
|
|
}
|