Loading pkgs/applications/version-management/got/default.nix +21 −10 Original line number Diff line number Diff line { lib, stdenv, fetchurl , pkg-config, openssl, libbsd, libevent, libuuid, libossp_uuid, libmd, zlib, ncurses, bison { lib , stdenv , fetchurl , pkg-config , openssl , libbsd , libevent , libuuid , libossp_uuid , libmd , zlib , ncurses , bison , autoPatchelfHook }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "got"; version = "0.94"; version = "0.95"; src = fetchurl { url = "https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz"; hash = "sha256-hG0/a+sk6uZCxR908YfZCW44qx/SIwwGO9mUaxxHZ3k="; url = "https://gameoftrees.org/releases/portable/got-portable-${finalAttrs.version}.tar.gz"; hash = "sha256-5on9ff76OAFmoaKTwVM0hUCGLiAZGJzt6+jCx2Nygg4="; }; nativeBuildInputs = [ pkg-config bison ] Loading @@ -21,7 +32,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-gotd" ]; preConfigure = lib.optionalString stdenv.isDarwin '' # The configure script assumes dependencies on Darwin are install via # The configure script assumes dependencies on Darwin are installed via # Homebrew or MacPorts and hardcodes assumptions about the paths of # dependencies which fails the nixpkgs configurePhase. substituteInPlace configure --replace 'xdarwin' 'xhomebrew' Loading @@ -38,7 +49,7 @@ stdenv.mkDerivation rec { installCheckPhase = '' runHook preInstallCheck test "$($out/bin/got --version)" = '${pname} ${version}' test "$($out/bin/got --version)" = "${finalAttrs.pname} ${finalAttrs.version}" runHook postInstallCheck ''; Loading @@ -59,4 +70,4 @@ stdenv.mkDerivation rec { platforms = platforms.linux ++ platforms.darwin; maintainers = with maintainers; [ abbe afh ]; }; } }) Loading
pkgs/applications/version-management/got/default.nix +21 −10 Original line number Diff line number Diff line { lib, stdenv, fetchurl , pkg-config, openssl, libbsd, libevent, libuuid, libossp_uuid, libmd, zlib, ncurses, bison { lib , stdenv , fetchurl , pkg-config , openssl , libbsd , libevent , libuuid , libossp_uuid , libmd , zlib , ncurses , bison , autoPatchelfHook }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "got"; version = "0.94"; version = "0.95"; src = fetchurl { url = "https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz"; hash = "sha256-hG0/a+sk6uZCxR908YfZCW44qx/SIwwGO9mUaxxHZ3k="; url = "https://gameoftrees.org/releases/portable/got-portable-${finalAttrs.version}.tar.gz"; hash = "sha256-5on9ff76OAFmoaKTwVM0hUCGLiAZGJzt6+jCx2Nygg4="; }; nativeBuildInputs = [ pkg-config bison ] Loading @@ -21,7 +32,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-gotd" ]; preConfigure = lib.optionalString stdenv.isDarwin '' # The configure script assumes dependencies on Darwin are install via # The configure script assumes dependencies on Darwin are installed via # Homebrew or MacPorts and hardcodes assumptions about the paths of # dependencies which fails the nixpkgs configurePhase. substituteInPlace configure --replace 'xdarwin' 'xhomebrew' Loading @@ -38,7 +49,7 @@ stdenv.mkDerivation rec { installCheckPhase = '' runHook preInstallCheck test "$($out/bin/got --version)" = '${pname} ${version}' test "$($out/bin/got --version)" = "${finalAttrs.pname} ${finalAttrs.version}" runHook postInstallCheck ''; Loading @@ -59,4 +70,4 @@ stdenv.mkDerivation rec { platforms = platforms.linux ++ platforms.darwin; maintainers = with maintainers; [ abbe afh ]; }; } })