summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-10-27 17:36:45 -0500
committerGitHub <noreply@github.com>2023-10-27 17:36:45 -0500
commite42b2e2c595b38774dc587c6d9f118a16b4970b0 (patch)
treea2b46001f1d82ece453b970d9bc492a8232df6fc /pkgs/development/interpreters
parent282c55dd1081513c05faaf7ec72b713c9e13653a (diff)
parentc253e5eca749ae379206dae8ed391fe5cda260b6 (diff)
Merge pull request #261971 from r-ryantm/auto-update/jruby
jruby: 9.4.3.0 -> 9.4.4.0
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/jruby/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/interpreters/jruby/default.nix b/pkgs/development/interpreters/jruby/default.nix
index 7c329f56fedc9..a316a407d80dd 100644
--- a/pkgs/development/interpreters/jruby/default.nix
+++ b/pkgs/development/interpreters/jruby/default.nix
@@ -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 ];