mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 00:22:13 +00:00
914e0e594c
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
19 lines
499 B
Nix
19 lines
499 B
Nix
{ 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.nix;
|
|
}
|