nixpkgs/pkgs/by-name/gd/gdlv/package.nix
Manuel Mendez 251fcfba61 gdlv: Update 1.10.0 -> 1.12.0
2024-03-04 / Version 1.12

    Function names in the stacktrace window is shortened by default
    Add next-instruction command
    Make the text in the variables window selectable
    Miscellaneous bug fixes

2023-09-24 / Version 1.11

    Better display of suspended breakpoints
    Add libraries command
    When printing a channel also print a list of goroutines waiting on it
2024-09-03 15:02:50 -04:00

46 lines
892 B
Nix

{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
AppKit,
CoreGraphics,
Foundation,
Metal,
}:
buildGoModule rec {
pname = "gdlv";
version = "1.12.0";
src = fetchFromGitHub {
owner = "aarzilli";
repo = "gdlv";
rev = "v${version}";
hash = "sha256-6NU7bhURdXM4EjVnsXVf9XFOUgHyVEI0kr15q9OnUTQ=";
};
vendorHash = null;
subPackages = ".";
preBuild =
lib.optionalString (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11.0")
''
export MACOSX_DEPLOYMENT_TARGET=10.15
'';
buildInputs = lib.optionals stdenv.isDarwin [
AppKit
CoreGraphics
Foundation
Metal
];
meta = with lib; {
description = "GUI frontend for Delve";
mainProgram = "gdlv";
homepage = "https://github.com/aarzilli/gdlv";
maintainers = with maintainers; [ mmlb ];
license = licenses.gpl3;
};
}