nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 29 lines 633 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitLab, 5}: 6 7buildGoModule rec { 8 pname = "eclint"; 9 version = "0.5.1"; 10 11 src = fetchFromGitLab { 12 owner = "greut"; 13 repo = "eclint"; 14 rev = "v${version}"; 15 hash = "sha256-XY+D0bRIgWTm2VH+uDVodYeyGeu+8Xyyq4xDvTDLii4="; 16 }; 17 18 vendorHash = "sha256-4bka3GRl75aUYpZrWuCIvKNwPY8ykp25e+kn+G6JQ/I="; 19 20 ldflags = [ "-X main.version=${version}" ]; 21 22 meta = { 23 homepage = "https://gitlab.com/greut/eclint"; 24 description = "EditorConfig linter written in Go"; 25 mainProgram = "eclint"; 26 license = lib.licenses.mit; 27 maintainers = with lib.maintainers; [ lucperkins ]; 28 }; 29}