at 23.11-beta 28 lines 601 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitLab 4}: 5 6buildGoModule 7rec { 8 pname = "eclint"; 9 version = "0.5.0"; 10 11 src = fetchFromGitLab { 12 owner = "greut"; 13 repo = pname; 14 rev = "v${version}"; 15 sha256 = "sha256-x0dBiRHaDxKrTCR2RfP2/bpBo6xewu8FX7Bv4ugaUAY="; 16 }; 17 18 vendorHash = "sha256-aNQuALDe37lsmTGpClIBOQJlL0NFSAZCgcmTjx0kP+U="; 19 20 ldflags = [ "-X main.version=${version}" ]; 21 22 meta = with lib; { 23 homepage = "https://gitlab.com/greut/eclint"; 24 description = "EditorConfig linter written in Go"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ lucperkins ]; 27 }; 28}