golant: extracted from goPackages

This commit is contained in:
Kamil Chmielewski
2016-06-04 14:35:09 +02:00
parent ec9edbe172
commit 3cf803fca7
5 changed files with 40 additions and 12 deletions

View File

@@ -0,0 +1,21 @@
# This file was generated by go2nix.
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
with goPackages;
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;
}

View File

@@ -0,0 +1,8 @@
[
{
"include": "pkgs/development/go-modules/libs.json",
"packages": [
"golang.org/x/tools"
]
}
]