summary refs log tree commit diff
path: root/pkgs/development/tools/golint/default.nix
blob: 29e5b28ad57f8345945cf49576e0705cbb8c33d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:

buildGoPackage rec {
  name = "lint-${version}";
  version = "20160428-${stdenv.lib.strings.substring 0 7 rev}";
  rev = "c7bacac2b21ca01afa1dee0acf64df3ce047c28f";
  
  goPackagePath = "github.com/golang/lint";
  excludedPackages = "testdata";

  src = fetchgit {
    inherit rev;
    url = "https://github.com/golang/lint";
    sha256 = "024dllcmpg8lx78cqgq551i6f9w6qlykfcx8l7yazak9kjwhpwjg";
  };

  goDeps = ./deps.json;
}