nixpkgs/pkgs/development/tools/delve/default.nix

25 lines
668 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "delve";
2021-01-29 14:00:43 +00:00
version = "1.6.0";
goPackagePath = "github.com/go-delve/delve";
excludedPackages = "\\(_fixtures\\|scripts\\|service/test\\)";
src = fetchFromGitHub {
owner = "go-delve";
repo = "delve";
rev = "v${version}";
2021-01-29 14:00:43 +00:00
sha256 = "sha256-krNCS5GaEMuwQ9XS8w0myL+xZX6goNNNBgUiRVoZPIU=";
};
meta = with lib; {
description = "debugger for the Go programming language";
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;
};
}