Merge pull request #261971 from r-ryantm/auto-update/jruby

jruby: 9.4.3.0 -> 9.4.4.0
This commit is contained in:
Mario Rodas 2023-10-27 17:36:45 -05:00 committed by GitHub
commit e42b2e2c59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, callPackage, fetchurl, mkRubyVersion, makeBinaryWrapper, jre }:
{ lib, stdenv, callPackage, fetchurl, gitUpdater, mkRubyVersion, makeBinaryWrapper, jre }:
let
# The version number here is whatever is reported by the RUBY_VERSION string
@ -6,11 +6,11 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "jruby";
version = "9.4.3.0";
version = "9.4.4.0";
src = fetchurl {
url = "https://s3.amazonaws.com/jruby.org/downloads/${finalAttrs.version}/jruby-bin-${finalAttrs.version}.tar.gz";
hash = "sha256-sJfgjFZp6KGIKI4RORHRK0rSvWeiwgnW36hEXWOk2Mk=";
hash = "sha256-arEmcK/Y5ciskwX6vkIFV5XF3fn46PGh5g4mDy1yTMA=";
};
nativeBuildInputs = [ makeBinaryWrapper ];
@ -52,12 +52,15 @@ stdenv.mkDerivation (finalAttrs: {
devEnv = callPackage ../ruby/dev.nix {
ruby = finalAttrs.finalPackage;
};
updateScript = gitUpdater {
url = "https://github.com/jruby/jruby.git";
};
};
meta = with lib; {
description = "Ruby interpreter written in Java";
homepage = "https://www.jruby.org/";
changelog = "https://github.com/jruby/jruby/releases/tag/${version}";
changelog = "https://github.com/jruby/jruby/releases/tag/${finalAttrs.version}";
license = with licenses; [ cpl10 gpl2 lgpl21 ];
platforms = jre.meta.platforms;
maintainers = [ maintainers.fzakaria ];