nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 29 lines 858 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "reviewdog"; 5 version = "0.14.1"; 6 7 src = fetchFromGitHub { 8 owner = pname; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-6NsGTpVj6m0sUVhTPmgtfhGz11IfYjjAiRKETUhqf2w="; 12 }; 13 14 vendorSha256 = "sha256-tdB/XPGr7pZeYZOkKH3XQggXtDUetkI75Ylu/E7ma64="; 15 16 doCheck = false; 17 18 subPackages = [ "cmd/reviewdog" ]; 19 20 ldflags = [ "-s" "-w" "-X github.com/reviewdog/reviewdog/commands.Version=${version}" ]; 21 22 meta = with lib; { 23 description = "Automated code review tool integrated with any code analysis tools regardless of programming language"; 24 homepage = "https://github.com/reviewdog/reviewdog"; 25 changelog = "https://github.com/reviewdog/reviewdog/raw/v${version}/CHANGELOG.md"; 26 maintainers = [ maintainers.marsam ]; 27 license = licenses.mit; 28 }; 29}