Unverified Commit 07ffdd2b authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #255209 from aaronjheng/gdlv

gdlv: 1.8.0 -> 1.10.0
parents 40842be9 08d41b73
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -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";
+1 −1
Original line number Diff line number Diff line
@@ -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 { };