got: 0.91 -> 0.92

- enable gotd
This commit is contained in:
Ashish SHUKLA 2023-08-29 22:15:30 +02:00
parent cddebdb60d
commit 1f4958d886
No known key found for this signature in database

View file

@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "got";
version = "0.91";
version = "0.92";
src = fetchurl {
url = "https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz";
hash = "sha256-ebFetQhgEBjy3aq3TfK9veeevbmSAEv9kaUohsnsrlU=";
hash = "sha256-HaNCxgbl0ewvI96jr9/BgJphqoQC5P2atj5a51bj99c=";
};
nativeBuildInputs = [ pkg-config bison ]
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl libbsd libevent libuuid libmd zlib ncurses ]
++ lib.optionals stdenv.isDarwin [ libossp_uuid ];
configureFlags = [ "--enable-gotd" ];
preConfigure = lib.optionalString stdenv.isDarwin ''
# The configure script assumes dependencies on Darwin are install via
# Homebrew or MacPorts and hardcodes assumptions about the paths of