gdlv: 1.8.0 -> 1.10.0

This commit is contained in:
Aaron Jheng 2023-09-15 09:57:17 +08:00 committed by Weijia Wang
parent c1bb79af49
commit 08d41b7372
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

@ -28592,7 +28592,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 { };