2023-08-10 07:59:29 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "grizzly";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "0.3.1";
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "grafana";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-d/DUazWBT96+dnwVXo667RHALUM2FHxXoI54fFU2HZw=";
|
2023-08-10 07:59:29 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
vendorHash = "sha256-8myfB2LKDPUCFV9GBSXrBo9E+WrCOCm0ZHKTQ1dEb9U=";
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/grr" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A utility for managing Jsonnet dashboards against the Grafana API";
|
|
|
|
homepage = "https://grafana.github.io/grizzly/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ nrhtr ];
|
|
|
|
platforms = platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "grr";
|
2023-08-10 07:59:29 +00:00
|
|
|
};
|
|
|
|
}
|