nixpkgs/pkgs/development/tools/golint/default.nix

19 lines
465 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchgit }:
2016-06-04 12:35:09 +00:00
buildGoPackage rec {
name = "lint-${version}";
2018-02-09 01:47:18 +00:00
version = "20180208-${stdenv.lib.strings.substring 0 7 rev}";
rev = "e14d9b0f1d332b1420c1ffa32562ad2dc84d645d";
2016-06-04 12:35:09 +00:00
goPackagePath = "github.com/golang/lint";
excludedPackages = "testdata";
src = fetchgit {
inherit rev;
url = "https://github.com/golang/lint";
2018-02-09 01:47:18 +00:00
sha256 = "15ynf78v39n71aplrhbqvzfblhndp8cd6lnknm586sdl81wama6p";
2016-06-04 12:35:09 +00:00
};
goDeps = ./deps.nix;
2016-06-04 12:35:09 +00:00
}