From 7c47df46c6147d319cd84d1e7b24de9d89fcc0a4 Mon Sep 17 00:00:00 2001 From: Harrison Houghton <28076058+hrhino@users.noreply.github.com> Date: Wed, 2 Feb 2022 06:43:55 -0500 Subject: [PATCH] h2: 1.4.199 -> 2.1.210 (#155436) --- pkgs/servers/h2/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/h2/default.nix b/pkgs/servers/h2/default.nix index d05232193d78..ee673b53aad5 100644 --- a/pkgs/servers/h2/default.nix +++ b/pkgs/servers/h2/default.nix @@ -1,14 +1,15 @@ { lib, stdenv, fetchzip, jre, makeWrapper }: stdenv.mkDerivation rec { pname = "h2"; - - version = "1.4.199"; + version = "2.1.210"; src = fetchzip { - url = "https://h2database.com/h2-2019-03-13.zip"; - sha256 = "0pdvbnx7nqfqs7x1zkwz2q34331l55jknpk6arf6dksvnd71hinj"; + url = "https://github.com/h2database/h2database/releases/download/version-${version}/h2-2022-01-17.zip"; + sha256 = "0zcjblhjj98dsj954ia3by9vx5w7mix1dzi85jnvp18kxmbldmf4"; }; + outputs = [ "out" "doc" ]; + nativeBuildInputs = [ makeWrapper ]; installPhase = @@ -24,8 +25,9 @@ stdenv.mkDerivation rec { fi ''; in '' - mkdir -p $out - cp -R * $out + mkdir -p $out $doc/share/doc/ + cp -R bin $out/ + cp -R docs $doc/share/doc/h2 echo '${h2ToolScript}' > $out/bin/h2tool.sh