lol

golint: 20181026 -> 20201208

bump and use Go modules to build

authored by

Thomas Bereknyei and committed by
tomberek
2b558b7f c1d529db

+7 -20
+7 -8
pkgs/development/tools/golint/default.nix
··· 1 - { lib, buildGoPackage, fetchgit }: 1 + { lib, buildGoModule, fetchgit }: 2 2 3 - buildGoPackage rec { 3 + buildGoModule rec { 4 4 pname = "lint"; 5 - version = "20181026-${lib.strings.substring 0 7 rev}"; 6 - rev = "c67002cb31c3a748b7688c27f20d8358b4193582"; 5 + version = "20201208-${lib.strings.substring 0 7 rev}"; 6 + rev = "83fdc39ff7b56453e3793356bcff3070b9b96445"; 7 7 8 - goPackagePath = "golang.org/x/lint"; 9 8 excludedPackages = "testdata"; 10 9 11 10 # we must allow references to the original `go` package, as golint uses ··· 15 14 src = fetchgit { 16 15 inherit rev; 17 16 url = "https://go.googlesource.com/lint"; 18 - sha256 = "0gymbggskjmphqxqcx4s0vnlcz7mygbix0vhwcwv5r67c0bf6765"; 17 + sha256 = "sha256-g4Z9PREOxGoN7n/XhutawsITBznJlbz6StXeDYvOQ1c="; 19 18 }; 20 19 21 - goDeps = ./deps.nix; 20 + vendorSha256 = "sha256-dPadFoymYu2Uw2AXZfbaBfxsN8IWMuK1TrcknHco3Bo="; 22 21 23 22 meta = with lib; { 24 23 homepage = "https://golang.org"; 25 24 description = "Linter for Go source code"; 26 25 license = licenses.bsd3; 27 - maintainers = with maintainers; [ jhillyerd ]; 26 + maintainers = with maintainers; [ jhillyerd tomberek ]; 28 27 }; 29 28 }
-12
pkgs/development/tools/golint/deps.nix
··· 1 - # This file was generated by https://github.com/kamilchm/go2nix v1.2.1 2 - [ 3 - { 4 - goPackagePath = "golang.org/x/tools"; 5 - fetch = { 6 - type = "git"; 7 - url = "https://go.googlesource.com/tools"; 8 - rev = "91f80e683c10fea00e7f965a1a7cac482ce52541"; 9 - sha256 = "16a2vppy5hnp663f28yak6592l8p968ihsc91pigamxx3vk1qh5d"; 10 - }; 11 - } 12 - ]