nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 30 lines 687 B view raw
1{ 2 buildGoModule, 3 fetchFromGitHub, 4 lib, 5}: 6 7buildGoModule rec { 8 pname = "grizzly"; 9 version = "0.7.1"; 10 11 src = fetchFromGitHub { 12 owner = "grafana"; 13 repo = "grizzly"; 14 rev = "v${version}"; 15 hash = "sha256-1caG2QIBfbCgg9TLsW4XB0w+4dqUkQEsdWwRazbWeQA="; 16 }; 17 18 vendorHash = "sha256-JxYafSralKqd/AB6fhTuQvt0q+/Zeu7dmZwVAAkolxY="; 19 20 subPackages = [ "cmd/grr" ]; 21 22 meta = with lib; { 23 description = "Utility for managing Jsonnet dashboards against the Grafana API"; 24 homepage = "https://grafana.github.io/grizzly/"; 25 license = licenses.asl20; 26 maintainers = with lib.maintainers; [ nrhtr ]; 27 platforms = platforms.unix; 28 mainProgram = "grr"; 29 }; 30}