1 { lib, buildGoPackage, fetchFromGitHub, tetex, makeWrapper }:
10 goPackagePath = "github.com/IzakMarais/reporter";
12 nativeBuildInputs = [ makeWrapper ];
14 src = fetchFromGitHub {
18 sha256 = "sha256-lsraJwx56I2Gn8CePWUlQu1qdMp78P4xwPzLxetYUcw=";
22 wrapProgram $out/bin/grafana-reporter \
23 --prefix PATH : ${makeBinPath [ tetex ]}
27 description = "PDF report generator from a Grafana dashboard";
28 mainProgram = "grafana-reporter";
29 homepage = "https://github.com/IzakMarais/reporter";
30 license = licenses.mit;
31 maintainers = with maintainers; [ disassembler ];