babashka: 0.0.97 -> 0.2.3

with #99631 and #102693 merged, it's possible to bump the babashka
version again.

However recent versions of babashka depend on java11 features and I
spoke in Slack with the project lead and this java11 dependency will
exist going forward.
This commit is contained in:
Benjamin Andresen 2020-11-05 07:11:54 +01:00
parent dfea4e4951
commit 172cbb8eb7

View File

@ -1,25 +1,25 @@
{ stdenv, fetchurl, graalvm8-ce, glibcLocales }: { stdenv, fetchurl, graalvm11-ce, glibcLocales }:
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "babashka"; pname = "babashka";
version = "0.0.97"; version = "0.2.3";
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 = "1gd9ih9l02n1j9qkbxb36d3cb5sddwvxiw8kkicgc4xig77lsa7z"; sha256 = "0lbdh3v3g3j00bn99bjhjj3gk1q9ks2alpvl9bxc00xpyw86f7z8";
}; };
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 = "08py6bawfrhg90fbcnv2mq4c91g5wa1q2q6zdjy2i1b9q4x1654r"; sha256 = "0vh6k3dkzyk346jjzg6n4mdi65iybrmhb3js9lm73yc3ay2c5dyi";
}; };
dontUnpack = true; dontUnpack = true;
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";
nativeBuildInputs = [ graalvm8-ce glibcLocales ]; nativeBuildInputs = [ graalvm11-ce glibcLocales ];
buildPhase = '' buildPhase = ''
native-image \ native-image \
@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
''; '';
homepage = "https://github.com/borkdude/babashka"; homepage = "https://github.com/borkdude/babashka";
license = licenses.epl10; license = licenses.epl10;
platforms = graalvm8-ce.meta.platforms; platforms = graalvm11-ce.meta.platforms;
maintainers = with maintainers; [ bandresen bhougland DerGuteMoritz jlesquembre ]; maintainers = with maintainers; [ bandresen bhougland DerGuteMoritz jlesquembre ];
}; };
} }