h2: 1.4.199 -> 2.1.210 (#155436)

This commit is contained in:
Harrison Houghton 2022-02-02 06:43:55 -05:00 committed by GitHub
parent 196921c619
commit 7c47df46c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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