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