1 { buildGoModule, fetchFromGitHub, lib }:
4 pname = "grafana-dash-n-grab";
7 src = fetchFromGitHub {
11 sha256 = "sha256-47zKZnq7ADIAti4fjGj6ctoM5Qo6UzAX1aLf87TknkQ=";
14 vendorHash = "sha256-XJSi+p++1QFfGk57trfIgyv0nWUm38H0n/qbJgV8lEM=";
19 "-X main.Version=${version}"
20 "-X github.com/esnet/gdg/version.GitCommit=${src.rev}"
23 # The test suite tries to communicate with a running version of grafana locally. This fails if
24 # you don't have grafana running.
28 description = "Grafana Dash-n-Grab (gdg) -- backup and restore Grafana dashboards, datasources, and other entities";
29 license = licenses.bsd3;
30 homepage = "https://github.com/esnet/gdg";
31 maintainers = with maintainers; teams.bitnomial.members;
34 "https://github.com/esnet/gdg/releases/tag/v${version}";