nixpkgs/pkgs/by-name/re/regal/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
583 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
name = "regal";
2024-06-06 05:38:41 +03:00
version = "0.23.0";
src = fetchFromGitHub {
owner = "StyraInc";
repo = "regal";
rev = "v${version}";
2024-06-06 05:38:41 +03:00
hash = "sha256-isivyYBxYinHQKfuLNyfXB1MNqdqNwu5iqsUd+WRwq8=";
};
2024-06-06 05:38:41 +03:00
vendorHash = "sha256-I0aJFvJmmnxlqgeETOyg2/mjGX8lUJz99t56Qe+9uZg=";
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 ];
};
}