depot/third_party/nixpkgs/pkgs/by-name/re/regal/package.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

23 lines
583 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
name = "regal";
version = "0.22.0";
src = fetchFromGitHub {
owner = "StyraInc";
repo = "regal";
rev = "v${version}";
hash = "sha256-3Q37ukeqf3n8UhriQNCWyRCgWOcxwO4TsNcsEnJn5eg=";
};
vendorHash = "sha256-ejTBfoDYMt5Jpuq+uNgpdHCafR7IUVr8OFB84+m/ZFg=";
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 ];
};
}