mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
golant: extracted from goPackages
This commit is contained in:
parent
ec9edbe172
commit
3cf803fca7
@ -889,5 +889,14 @@
|
||||
"rev": "104dcad90073cd8d1e6828b2af19185b60cf3e29",
|
||||
"sha256": "0pfi09h4q6w2x833qxr8r609ml4kw1flqm265j752sb08sbf3zwf"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "golang.org/x/tools",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://go.googlesource.com/tools",
|
||||
"rev": "9ae4729fba20b3533d829a9c6ba8195b068f2abc",
|
||||
"sha256": "1j51aaskfqc953p5s9naqimr04hzfijm4yczdsiway1xnnvvpfr1"
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
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"
|
||||
]
|
||||
}
|
||||
]
|
@ -11159,7 +11159,7 @@ in
|
||||
|
||||
gotags = callPackage ../development/tools/gotags { };
|
||||
|
||||
golint = goPackages.lint.bin // { outputs = [ "bin" ]; };
|
||||
golint = callPackage ../development/tools/golint { };
|
||||
|
||||
godep = callPackage ../development/tools/godep { };
|
||||
|
||||
|
@ -1864,16 +1864,6 @@ let
|
||||
sha256 = "1kpx1ymh7rds0b2km291idnyqi0zck74nd8hnk72crgz7wmpqv6z";
|
||||
};
|
||||
|
||||
lint = buildFromGitHub {
|
||||
rev = "7b7f4364ff76043e6c3610281525fabc0d90f0e4";
|
||||
version = "2015-06-23";
|
||||
owner = "golang";
|
||||
repo = "lint";
|
||||
sha256 = "1bj7zv534hyh87bp2vsbhp94qijc5nixb06li1dzfz9n0wcmlqw9";
|
||||
excludedPackages = "testdata";
|
||||
buildInputs = [ tools ];
|
||||
};
|
||||
|
||||
goquery = buildGoPackage rec {
|
||||
rev = "f065786d418c9d22a33cad33decd59277af31471"; #tag v.0.3.2
|
||||
name = "goquery-${stdenv.lib.strings.substring 0 7 rev}";
|
||||
|
Loading…
Reference in New Issue
Block a user