govers: extracted from goPackages

This commit is contained in:
Kamil Chmielewski 2016-06-05 16:48:15 +02:00
parent fc88548b5d
commit 7b4e868173
3 changed files with 22 additions and 12 deletions

View File

@ -0,0 +1,20 @@
# This file was generated by go2nix.
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
with goPackages;
buildGoPackage rec {
name = "govers-${version}";
version = "20150109-${stdenv.lib.strings.substring 0 7 rev}";
rev = "3b5f175f65d601d06f48d78fcbdb0add633565b9";
goPackagePath = "github.com/rogpeppe/govers";
src = fetchgit {
inherit rev;
url = "https://github.com/rogpeppe/govers";
sha256 = "0din5a7nff6hpc4wg0yad2nwbgy4q1qaazxl8ni49lkkr4hyp8pc";
};
dontRenameImports = true;
}

View File

@ -9603,7 +9603,6 @@ in
go = go_1_4;
buildGoPackage = callPackage ../development/go-modules/generic {
go = go_1_4;
govers = go14Packages.govers.bin;
};
overrides = (config.goPackageOverrides or (p: {})) pkgs;
};
@ -9612,7 +9611,6 @@ in
go = go_1_5;
buildGoPackage = callPackage ../development/go-modules/generic {
go = go_1_5;
govers = go15Packages.govers.bin;
};
overrides = (config.goPackageOverrides or (p: {})) pkgs;
};
@ -9621,7 +9619,6 @@ in
go = go_1_6;
buildGoPackage = callPackage ../development/go-modules/generic {
go = go_1_6;
govers = go16Packages.govers.bin;
};
overrides = (config.goPackageOverrides or (p: {})) pkgs;
};
@ -11167,6 +11164,8 @@ in
goimports = callPackage ../development/tools/goimports { };
govers = callPackage ../development/tools/govers { };
gogoclient = callPackage ../os-specific/linux/gogoclient { };
nss_ldap = callPackage ../os-specific/linux/nss_ldap { };

View File

@ -1020,15 +1020,6 @@ let
sha256 = "1l1w4mczqmah0c154vb1daw5l3cc7vn5gmy5s67p3ad1lnz5l79x";
};
govers = buildFromGitHub {
rev = "3b5f175f65d601d06f48d78fcbdb0add633565b9";
version = "2015-01-09";
owner = "rogpeppe";
repo = "govers";
sha256 = "0din5a7nff6hpc4wg0yad2nwbgy4q1qaazxl8ni49lkkr4hyp8pc";
dontRenameImports = true;
};
golang-lru = buildFromGitHub {
rev = "7f9ef20a0256f494e24126014135cf893ab71e9e";
owner = "hashicorp";