gocyclo: init unstable at 2015-02-08

This commit is contained in:
Wael M. Nasreddine 2018-11-02 21:08:19 -07:00
parent f10fcf202b
commit 1efe4d9005
No known key found for this signature in database
GPG Key ID: 82AE0A31B33CEFCF
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ buildGoPackage
, lib
, fetchFromGitHub
}:
buildGoPackage rec {
name = "gocyclo-unstable-${version}";
version = "2015-02-08";
rev = "aa8f8b160214d8dfccfe3e17e578dd0fcc6fede7";
goPackagePath = "github.com/alecthomas/gocyclo";
src = fetchFromGitHub {
inherit rev;
owner = "alecthomas";
repo = "gocyclo";
sha256 = "094rj97q38j53lmn2scshrg8kws8c542yq5apih1ahm9wdkv8pxr";
};
meta = with lib; {
description = "Calculate cyclomatic complexities of functions in Go source code.";
homepage = https://github.com/alecthomas/gocyclo;
license = licenses.bsd3;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@ -14739,6 +14739,8 @@ with pkgs;
golangci-lint = callPackage ../development/tools/golangci-lint { };
gocyclo = callPackage ../development/tools/gocyclo { };
godef = callPackage ../development/tools/godef { };
gopkgs = callPackage ../development/tools/gopkgs { };