goimports: Move to go-packages
This commit is contained in:
parent
8c6088c0ce
commit
9a5d1d85af
|
@ -1,29 +0,0 @@
|
|||
{ lib, goPackages, fetchFromGitHub }:
|
||||
|
||||
with goPackages;
|
||||
|
||||
buildGoPackage rec {
|
||||
rev = "7534f4943d94a318edde90212439e538ed54cdde";
|
||||
version = "git-2015-04-26";
|
||||
name = "goimports-${version}";
|
||||
goPackagePath = "golang.org/x/tools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "golang";
|
||||
repo = "tools";
|
||||
sha256 = "12ybykrn92l7awav0wkx9yqpc5z0pdwwi29qs9mdr2xspx61rb50";
|
||||
};
|
||||
|
||||
subPackages = [ "cmd/goimports" ];
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Import management tool for go";
|
||||
homepage = https://godoc.org/golang.org/x/tools/cmd/goimports;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ jzellner ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -10111,7 +10111,7 @@ let
|
|||
|
||||
godep = callPackage ../development/tools/godep { };
|
||||
|
||||
goimports = callPackage ../development/tools/goimports { };
|
||||
goimports = goPackages.tools.bin // { outputs = [ "bin" ]; };
|
||||
|
||||
gogoclient = callPackage ../os-specific/linux/gogoclient { };
|
||||
|
||||
|
|
Loading…
Reference in New Issue