2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-11-23 22:53:07 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "delve-${version}";
|
2018-09-28 18:59:47 +01:00
|
|
|
version = "1.1.0";
|
2016-11-23 22:53:07 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/derekparker/delve";
|
2017-03-01 12:48:04 +00:00
|
|
|
excludedPackages = "\\(_fixtures\\|scripts\\|service/test\\)";
|
2016-11-23 22:53:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "derekparker";
|
|
|
|
repo = "delve";
|
|
|
|
rev = "v${version}";
|
2018-09-28 18:59:47 +01:00
|
|
|
sha256 = "0gpsd9hb7r65rn4ml9jzsmy72b8j0id6wik2l48ghzkwjm72rsdz";
|
2016-11-23 22:53:07 +00:00
|
|
|
};
|
|
|
|
|
2018-01-02 10:23:00 +00:00
|
|
|
meta = with stdenv.lib; {
|
2016-11-23 22:53:07 +00:00
|
|
|
description = "debugger for the Go programming language";
|
2017-08-01 21:03:30 +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
|
|
|
};
|
|
|
|
}
|