nixpkgs/pkgs/development/tools/eclint/default.nix

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

29 lines
601 B
Nix
Raw Normal View History

2022-08-26 11:44:20 +00:00
{ lib
, buildGoModule
, fetchFromGitLab
}:
buildGoModule
rec {
pname = "eclint";
2023-10-13 12:31:47 +00:00
version = "0.5.0";
2022-08-26 11:44:20 +00:00
src = fetchFromGitLab {
owner = "greut";
repo = pname;
rev = "v${version}";
2023-10-13 12:31:47 +00:00
sha256 = "sha256-x0dBiRHaDxKrTCR2RfP2/bpBo6xewu8FX7Bv4ugaUAY=";
2022-08-26 11:44:20 +00:00
};
2023-10-13 12:31:47 +00:00
vendorHash = "sha256-aNQuALDe37lsmTGpClIBOQJlL0NFSAZCgcmTjx0kP+U=";
2022-08-26 11:44:20 +00:00
2022-09-15 09:50:46 +00:00
ldflags = [ "-X main.version=${version}" ];
2022-08-26 11:44:20 +00:00
meta = with lib; {
homepage = "https://gitlab.com/greut/eclint";
description = "EditorConfig linter written in Go";
license = licenses.mit;
maintainers = with maintainers; [ lucperkins ];
};
}