2024-05-15 15:35:15 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
name = "regal";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "0.23.1";
|
2024-05-15 15:35:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "StyraInc";
|
|
|
|
repo = "regal";
|
|
|
|
rev = "v${version}";
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-ui4SY8HNpS5CV2zh84w8CYZmZAoNOPxIj/eG+KvKlwI=";
|
2024-05-15 15:35:15 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
vendorHash = "sha256-I0aJFvJmmnxlqgeETOyg2/mjGX8lUJz99t56Qe+9uZg=";
|
2024-05-15 15:35:15 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Linter and language server for Rego";
|
2024-05-15 15:35:15 +00:00
|
|
|
mainProgram = "regal";
|
|
|
|
homepage = "https://github.com/StyraInc/regal";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ rinx ];
|
|
|
|
};
|
|
|
|
}
|