1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/golint/default.nix

19 lines
499 B
Nix
Raw Normal View History

2016-06-06 01:28:52 +01:00
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
2016-06-04 13:35:09 +01: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 13:35:09 +01: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 13:35:09 +01:00
};
goDeps = ./deps.nix;
2016-06-04 13:35:09 +01:00
}