Merge pull request #255209 from aaronjheng/gdlv

gdlv: 1.8.0 -> 1.10.0
This commit is contained in:
Mario Rodas 2023-09-23 11:46:52 -05:00 committed by GitHub
commit 07ffdd2b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 5 deletions

View File

@ -2,25 +2,32 @@
, stdenv
, buildGoModule
, fetchFromGitHub
, OpenGL
, Foundation
, CoreGraphics
, Metal
, AppKit
}:
buildGoModule rec {
pname = "gdlv";
version = "1.8.0";
version = "1.10.0";
src = fetchFromGitHub {
owner = "aarzilli";
repo = "gdlv";
rev = "v${version}";
sha256 = "sha256-G1/Wbz836yfGZ/1ArICrNbWU6eh4SHXDmo4FKkjUszY=";
hash = "sha256-OPsQOFwV6jIX4ZOVwJmpTeQUr/zkfkqCr86HmPhYarI=";
};
preBuild = lib.optionalString (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11.0") ''
export MACOSX_DEPLOYMENT_TARGET=10.15
'';
vendorHash = null;
subPackages = ".";
buildInputs = lib.optionals stdenv.isDarwin [ OpenGL AppKit ];
buildInputs = lib.optionals stdenv.isDarwin [ Foundation CoreGraphics Metal AppKit ];
meta = with lib; {
description = "GUI frontend for Delve";

View File

@ -28591,7 +28591,7 @@ with pkgs;
ginkgo = callPackage ../development/tools/ginkgo { };
gdlv = darwin.apple_sdk_11_0.callPackage ../development/tools/gdlv {
inherit (darwin.apple_sdk_11_0.frameworks) OpenGL AppKit;
inherit (darwin.apple_sdk_11_0.frameworks) Foundation CoreGraphics Metal AppKit;
};
go-bindata = callPackage ../development/tools/go-bindata { };