commit
07ffdd2b6e
2 changed files with 12 additions and 5 deletions
|
@ -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";
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue