5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
23 lines
583 B
Nix
23 lines
583 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
name = "regal";
|
|
version = "0.21.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "StyraInc";
|
|
repo = "regal";
|
|
rev = "v${version}";
|
|
hash = "sha256-MeEamVAETl+PJXJ2HpbhYdEG3kqvEeT5bGzRHyTrjcY=";
|
|
};
|
|
|
|
vendorHash = "sha256-5rj2dCWya24VUmIFf0oJQop80trq9NnqqFlBW/A6opk=";
|
|
|
|
meta = with lib; {
|
|
description = "a linter and language server for Rego";
|
|
mainProgram = "regal";
|
|
homepage = "https://github.com/StyraInc/regal";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ rinx ];
|
|
};
|
|
}
|