bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
23 lines
581 B
Nix
23 lines
581 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
name = "regal";
|
|
version = "0.23.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "StyraInc";
|
|
repo = "regal";
|
|
rev = "v${version}";
|
|
hash = "sha256-ui4SY8HNpS5CV2zh84w8CYZmZAoNOPxIj/eG+KvKlwI=";
|
|
};
|
|
|
|
vendorHash = "sha256-I0aJFvJmmnxlqgeETOyg2/mjGX8lUJz99t56Qe+9uZg=";
|
|
|
|
meta = with lib; {
|
|
description = "Linter and language server for Rego";
|
|
mainProgram = "regal";
|
|
homepage = "https://github.com/StyraInc/regal";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ rinx ];
|
|
};
|
|
}
|