3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/terraform-lsp/default.nix

25 lines
667 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2019-07-22 10:20:00 +01:00
buildGoPackage rec {
2019-07-22 10:20:00 +01:00
pname = "terraform-lsp";
version = "0.0.10";
2019-07-22 10:20:00 +01:00
src = fetchFromGitHub {
owner = "juliosueiras";
repo = pname;
rev = "v${version}";
sha256 = "1j69j1pkd0q6bds1c6pcaars5hl3hk93q2p31mymkzmy640k8zfn";
2019-07-22 10:20:00 +01:00
};
goPackagePath = "github.com/juliosueiras/terraform-lsp";
buildFlagsArray = [ "-ldflags=-s -w -X main.Version=${version} -X main.GitCommit=${src.rev}" ];
2019-07-22 10:20:00 +01:00
meta = with lib; {
description = "Language Server Protocol for Terraform";
homepage = "https://github.com/juliosueiras/terraform-lsp";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}