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

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

25 lines
652 B
Nix
Raw Normal View History

2023-10-09 21:10:51 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "regols";
2024-07-28 15:27:11 +00:00
version = "0.2.4";
2023-10-09 21:10:51 +00:00
src = fetchFromGitHub {
owner = "kitagry";
repo = "regols";
rev = "v${version}";
2024-07-28 15:27:11 +00:00
hash = "sha256-1L9ehqTMN9KHlvE7FBccVAXA7f3NNsLXJaTkOChT8Xo=";
2023-10-09 21:10:51 +00:00
};
2024-07-28 15:27:11 +00:00
vendorHash = "sha256-yJYWVQq6pbLPdmK4BVse6moMkurlmt6TBd6/vYM1xcU=";
2023-10-09 21:10:51 +00:00
meta = with lib; {
description = "OPA Rego language server";
mainProgram = "regols";
2023-10-09 21:10:51 +00:00
homepage = "https://github.com/kitagry/regols";
2024-06-16 20:48:03 +00:00
changelog = "https://github.com/kitagry/regols/releases/tag/${src.rev}";
2023-10-09 21:10:51 +00:00
license = licenses.mit;
maintainers = with maintainers; [ alias-dev ];
};
}