Merge pull request #84350 from bandresen/babashka_0.0.78->0.0.79

babashka: 0.0.78 -> 0.0.89
This commit is contained in:
Jörg Thalheim 2020-04-27 16:15:32 +01:00 committed by GitHub
commit bd282ba93d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,24 +1,25 @@
{ stdenv, fetchurl, graalvm8 }: { stdenv, fetchurl, graalvm8, glibcLocales }:
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "babashka"; pname = "babashka";
version = "0.0.78"; version = "0.0.89";
reflectionJson = fetchurl { reflectionJson = fetchurl {
name = "reflection.json"; name = "reflection.json";
url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-reflection.json"; url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-reflection.json";
sha256 = "1m1nwdxjsc6bkdzkbsll316ly0c3qxaimjzyfph1220irjxnm7xf"; sha256 = "0bc5rbizd2lg7qfh733yiip8m9zqrwgjf5ca09sdibxp7nhhsjby";
}; };
src = fetchurl { src = fetchurl {
url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar"; url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
sha256 = "01w990zk5qjrbnc846snh6na002kdyrlrfnqwg03ibx20g3mr7if"; sha256 = "11jhqbm3svvikr9glz8wwps1267y25g3384ijw6avn267s7d7l8c";
}; };
dontUnpack = true; dontUnpack = true;
buildInputs = [ graalvm8 ]; LC_ALL = "en_US.UTF-8";
nativeBuildInputs = [ graalvm8 glibcLocales ];
buildPhase = '' buildPhase = ''
native-image \ native-image \
@ -40,7 +41,8 @@ stdenv.mkDerivation rec {
--no-fallback \ --no-fallback \
--no-server \ --no-server \
--report-unsupported-elements-at-runtime \ --report-unsupported-elements-at-runtime \
"-J-Xmx3g" "--initialize-at-run-time=org.postgresql.sspi.SSPIClient" \
"-J-Xmx4500m"
''; '';
installPhase = '' installPhase = ''