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

19 lines
499 B
Nix
Raw Normal View History

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