2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "delve";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "1.6.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/go-delve/delve";
|
|
|
|
excludedPackages = "\\(_fixtures\\|scripts\\|service/test\\)";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "go-delve";
|
|
|
|
repo = "delve";
|
|
|
|
rev = "v${version}";
|
2021-05-20 23:08:51 +00:00
|
|
|
sha256 = "sha256-bTVCasemE8Vyjcs8wZBiiXEsW3UBndjpPQ5bi+4vQkw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "debugger for the Go programming language";
|
|
|
|
homepage = "https://github.com/derekparker/delve";
|
|
|
|
maintainers = with maintainers; [ vdemeester ];
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = [ "x86_64-linux" ] ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|