nixpkgs/pkgs/by-name/re/regols/package.nix
2024-07-07 15:20:06 +02:00

25 lines
652 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "regols";
version = "0.2.3";
src = fetchFromGitHub {
owner = "kitagry";
repo = "regols";
rev = "v${version}";
hash = "sha256-nZ0zBCZXVY2AqzsBWm/HOp9wO7Cj1AsSgpi6YwmhfHY=";
};
vendorHash = "sha256-LQdYmsof4CRDBz65Q/YDl+Ll77fvAR/CV/P2RK8a0Lg=";
meta = with lib; {
description = "OPA Rego language server";
mainProgram = "regols";
homepage = "https://github.com/kitagry/regols";
changelog = "https://github.com/kitagry/regols/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ alias-dev ];
};
}