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.

24 lines
575 B
Nix
Raw Normal View History

2023-10-09 21:10:51 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "regols";
2024-05-12 15:22:25 +00:00
version = "0.2.3";
2023-10-09 21:10:51 +00:00
src = fetchFromGitHub {
owner = "kitagry";
repo = "regols";
rev = "v${version}";
2024-05-12 15:22:25 +00:00
hash = "sha256-nZ0zBCZXVY2AqzsBWm/HOp9wO7Cj1AsSgpi6YwmhfHY=";
2023-10-09 21:10:51 +00:00
};
2024-05-12 15:22:25 +00:00
vendorHash = "sha256-LQdYmsof4CRDBz65Q/YDl+Ll77fvAR/CV/P2RK8a0Lg=";
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";
license = licenses.mit;
maintainers = with maintainers; [ alias-dev ];
};
}