Skip to content

Commit

Permalink
got: 0.97 -> 0.98.2
Browse files Browse the repository at this point in the history
  • Loading branch information
afh committed Apr 29, 2024
1 parent f7ae5ea commit ee9dc62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
, stdenv
, fetchurl
, pkg-config
, openssl
, libressl
, libbsd
, libevent
, libuuid
Expand All @@ -12,21 +12,22 @@
, ncurses
, bison
, autoPatchelfHook
, testers
}:

stdenv.mkDerivation (finalAttrs: {
pname = "got";
version = "0.97";
version = "0.98.2";

src = fetchurl {
url = "https://gameoftrees.org/releases/portable/got-portable-${finalAttrs.version}.tar.gz";
hash = "sha256-4HpIlKRYUDoymCBH8GS8DDXaY0nYiVvotpBkwglOO3I=";
hash = "sha256-/11K2ZIu3xyAVbI5hlCXL9RjyAlZDb544uqxv3ihUMg=";
};

nativeBuildInputs = [ pkg-config bison ]
++ lib.optionals stdenv.isLinux [ autoPatchelfHook ];

buildInputs = [ openssl libbsd libevent libuuid libmd zlib ncurses ]
buildInputs = [ libressl libbsd libevent libuuid libmd zlib ncurses ]
++ lib.optionals stdenv.isDarwin [ libossp_uuid ];

configureFlags = [ "--enable-gotd" ];
Expand All @@ -45,13 +46,9 @@ stdenv.mkDerivation (finalAttrs: {
"-include getopt.h"
]);

doInstallCheck = true;

installCheckPhase = ''
runHook preInstallCheck
test "$($out/bin/got --version)" = "got ${finalAttrs.version}"
runHook postInstallCheck
'';
passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
};

meta = {
changelog = "https://gameoftrees.org/releases/CHANGES";
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31383,8 +31383,6 @@ with pkgs;

goffice = callPackage ../development/libraries/goffice { };

got = darwin.apple_sdk_11_0.callPackage ../applications/version-management/got { };

gtkterm = callPackage ../tools/misc/gtkterm { };

gtk-pipe-viewer = perlPackages.callPackage ../applications/video/pipe-viewer { withGtk3 = true; };
Expand Down

0 comments on commit ee9dc62

Please sign in to comment.