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