nixpkgs-suyu/pkgs/development/tools/gogetdoc/default.nix

33 lines
699 B
Nix
Raw Normal View History

2020-04-23 10:48:08 +02:00
{ buildGoModule
2018-11-02 05:34:11 +01:00
, lib
, fetchFromGitHub
}:
2020-04-23 10:48:08 +02:00
buildGoModule rec {
pname = "gogetdoc-unstable";
2020-04-23 10:48:08 +02:00
version = "2019-02-28";
rev = "b37376c5da6aeb900611837098f40f81972e63e4";
vendorSha256 = null;
2018-11-02 05:34:11 +01:00
doCheck = false;
2018-11-02 05:34:11 +01:00
excludedPackages = "\\(testdata\\)";
src = fetchFromGitHub {
inherit rev;
owner = "zmb3";
repo = "gogetdoc";
2020-04-23 10:48:08 +02:00
sha256 = "1v74zd0x2xh10603p8raazssacv3y0x0lr9apkpsdk0bfp5jj0lr";
2018-11-02 05:34:11 +01:00
};
meta = with lib; {
description = "Gets documentation for items in Go source code";
homepage = "https://github.com/zmb3/gogetdoc";
2018-11-02 05:34:11 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}