2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-11-23 22:53:07 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "delve";
|
2020-12-11 11:36:16 +00:00
|
|
|
version = "1.5.1";
|
2016-11-23 22:53:07 +00:00
|
|
|
|
2019-03-05 17:50:17 +00:00
|
|
|
goPackagePath = "github.com/go-delve/delve";
|
2017-03-01 12:48:04 +00:00
|
|
|
excludedPackages = "\\(_fixtures\\|scripts\\|service/test\\)";
|
2016-11-23 22:53:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-03-05 17:50:17 +00:00
|
|
|
owner = "go-delve";
|
2016-11-23 22:53:07 +00:00
|
|
|
repo = "delve";
|
|
|
|
rev = "v${version}";
|
2020-12-11 11:36:16 +00:00
|
|
|
sha256 = "10zvla2jqxqibxdk3zbnsxg63i0zcwcn9npvw3bbicwd2z4vvskk";
|
2016-11-23 22:53:07 +00:00
|
|
|
};
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2016-11-23 22:53:07 +00:00
|
|
|
description = "debugger for the Go programming language";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/derekparker/delve";
|
2018-01-02 10:23:00 +00:00
|
|
|
maintainers = with maintainers; [ vdemeester ];
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = [ "x86_64-linux" ] ++ platforms.darwin;
|
2016-11-23 22:53:07 +00:00
|
|
|
};
|
|
|
|
}
|