Commit fdbbb617 authored by Alexis Hildebrandt's avatar Alexis Hildebrandt
Browse files

got: 0.106 -> 0.108

parent eb454c6e
Loading
Loading
Loading
Loading
+18 −20
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
  autoPatchelfHook,
  testers,
  signify,
  overrideSDK,
  apple-sdk_15,
  nix-update-script,
  withSsh ? true,
  openssh,
@@ -23,20 +23,13 @@
  defaultEditor ? null,
}:

let
  stdenv' =
    if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 then
      overrideSDK stdenv "11.0"
    else
      stdenv;
in
stdenv'.mkDerivation (finalAttrs: {
stdenv.mkDerivation (finalAttrs: {
  pname = "got";
  version = "0.106";
  version = "0.108";

  src = fetchurl {
    url = "https://gameoftrees.org/releases/portable/got-portable-${finalAttrs.version}.tar.gz";
    hash = "sha256-MHnXQsElBH3jOd2SPXXQuWCZWjpLVn7QjvNtESvbB8w=";
    hash = "sha256-bI0yCt01h65HwG2jLUH+5Ah+1mGTG6ZNxt53v0Mr0+I=";
  };

  nativeBuildInputs = [
@@ -44,7 +37,8 @@ stdenv'.mkDerivation (finalAttrs: {
    bison
  ] ++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];

  buildInputs = [
  buildInputs =
    [
      libressl
      libbsd
      libevent
@@ -52,7 +46,11 @@ stdenv'.mkDerivation (finalAttrs: {
      libmd
      zlib
      ncurses
  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libossp_uuid ];
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      libossp_uuid
      apple-sdk_15
    ];

  preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin ''
    # The configure script assumes dependencies on Darwin are installed via