diff options
author | Rintaro Okamura <rintaro.okamura@gmail.com> | 2024-04-24 23:15:17 +0900 |
---|---|---|
committer | Rintaro Okamura <rintaro.okamura@gmail.com> | 2024-04-25 13:26:03 +0900 |
commit | 4b84fdd7677384051dde81f5670a5249912a661e (patch) | |
tree | 0a2823b6d5eb3e9e19b638b147512904babc6dc3 /pkgs/by-name/re | |
parent | 74b865e2e216a1b4485d3caf7a2146991bcbfaf8 (diff) |
regal: init at 0.21.0
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Diffstat (limited to 'pkgs/by-name/re')
-rw-r--r-- | pkgs/by-name/re/regal/package.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/by-name/re/regal/package.nix b/pkgs/by-name/re/regal/package.nix new file mode 100644 index 0000000000000..040f0cfe593c5 --- /dev/null +++ b/pkgs/by-name/re/regal/package.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + name = "regal"; + version = "0.21.0"; + + src = fetchFromGitHub { + owner = "StyraInc"; + repo = "regal"; + rev = "v${version}"; + hash = "sha256-4qqwL+zzBLtN8DLgUsVVAjXKdAvvbo12PHQstptbFIc="; + }; + + 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 ]; + }; +} |