2016-11-23 23:53:07 +01:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "delve-${version}";
|
2018-01-02 10:46:51 +01:00
|
|
|
version = "0.12.2";
|
2016-11-23 23:53:07 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/derekparker/delve";
|
2017-03-01 13:48:04 +01:00
|
|
|
excludedPackages = "\\(_fixtures\\|scripts\\|service/test\\)";
|
2016-11-23 23:53:07 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "derekparker";
|
|
|
|
repo = "delve";
|
|
|
|
rev = "v${version}";
|
2018-01-02 10:46:51 +01:00
|
|
|
sha256 = "1241zqyimgqil4qd72f0yiw935lkdmfr88kvqbkn9n05k7xhdg30";
|
2016-11-23 23:53:07 +01:00
|
|
|
};
|
|
|
|
|
2018-01-02 11:23:00 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-11-23 23:53:07 +01:00
|
|
|
description = "debugger for the Go programming language";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/derekparker/delve;
|
2018-01-02 11:23:00 +01:00
|
|
|
maintainers = with maintainers; [ vdemeester ];
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = [ "x86_64-linux" ] ++ platforms.darwin;
|
2016-11-23 23:53:07 +01:00
|
|
|
};
|
|
|
|
}
|