depot/third_party/nixpkgs/pkgs/development/tools/eclint/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

28 lines
601 B
Nix

{ lib
, buildGoModule
, fetchFromGitLab
}:
buildGoModule
rec {
pname = "eclint";
version = "0.4.0";
src = fetchFromGitLab {
owner = "greut";
repo = pname;
rev = "v${version}";
sha256 = "sha256-/WSxhdPekCNgeWf+ObIOblCUj3PyJvykGyCXrFmCXLA=";
};
vendorHash = "sha256-hdMBd0QI2uWktBV+rH73rCnnkIlw2zDT9OabUuWIGks=";
ldflags = [ "-X main.version=${version}" ];
meta = with lib; {
homepage = "https://gitlab.com/greut/eclint";
description = "EditorConfig linter written in Go";
license = licenses.mit;
maintainers = with maintainers; [ lucperkins ];
};
}