nixpkgs/pkgs/development/tools/golint/default.nix

29 lines
674 B
Nix
Raw Normal View History

2015-02-04 10:37:17 +00:00
{ lib, goPackages, fetchFromGitHub }:
2014-10-10 14:27:44 +01:00
2015-02-04 10:37:17 +00:00
with goPackages;
2014-10-10 14:27:44 +01:00
2015-02-04 10:37:17 +00:00
buildGoPackage rec {
rev = "8ca23475bcb43213a55dd8210b69363f6b0e09c1";
name = "golint-${lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/golang/lint";
2014-10-10 14:27:44 +01:00
2015-02-04 10:37:17 +00:00
src = fetchFromGitHub {
inherit rev;
owner = "golang";
repo = "lint";
sha256 = "16wbykik6dw3x9s7iqi4ln8kvzsh3g621wb8mk4nfldw7lyqp3cs";
};
2014-10-10 14:27:44 +01:00
2015-02-04 10:37:17 +00:00
subPackages = [ "golint" ];
2014-10-10 14:27:44 +01:00
dontInstallSrc = true;
2014-10-10 14:27:44 +01:00
meta = with lib; {
2014-11-11 13:20:43 +00:00
description = "Linter for Go source code";
2014-10-10 14:27:44 +01:00
homepage = https://github.com/golang/lint;
license = licenses.mit;
maintainers = with maintainers; [ offline ];
platforms = platforms.unix;
};
}