summary refs log tree commit diff
path: root/pkgs/development/interpreters/jruby/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/jruby/default.nix')
-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 7c329f56fed..a316a407d80 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 ];