golant: extracted from goPackages
This commit is contained in:
21
pkgs/development/tools/golint/default.nix
Normal file
21
pkgs/development/tools/golint/default.nix
Normal 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;
|
||||
}
|
||||
8
pkgs/development/tools/golint/deps.json
Normal file
8
pkgs/development/tools/golint/deps.json
Normal file
@@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"include": "pkgs/development/go-modules/libs.json",
|
||||
"packages": [
|
||||
"golang.org/x/tools"
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user