2022-09-09 14:08:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitLab
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule
|
|
|
|
rec {
|
|
|
|
pname = "eclint";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "0.3.8";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "greut";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-01-11 07:51:40 +00:00
|
|
|
sha256 = "sha256-wAT+lc8cFf9zOZ72EwIeE2z5mCjGN8vpRoS1k15X738=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
vendorHash = "sha256-6aIE6MyNDOLRxn+CYSCVNj4Q50HywSh/Q0WxnxCEtg8=";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
ldflags = [ "-X main.version=${version}" ];
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://gitlab.com/greut/eclint";
|
|
|
|
description = "EditorConfig linter written in Go";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lucperkins ];
|
|
|
|
};
|
|
|
|
}
|