diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2024-02-17 07:04:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-17 07:04:16 -0500 |
commit | c0e3c6f9cbb45c985633543c2da2d455f7697b92 (patch) | |
tree | babfada1617170e63a412f2a7ad3feac85d638cb /pkgs/development | |
parent | 10cfcdbf79244b224bea0fc4682e18dbc245b1d3 (diff) | |
parent | 5fcfc83c97d6625bbfd6b85e3c73bdef1faf6336 (diff) |
Merge pull request #288934 from marsam/update-mruby
mruby: 3.2.0 -> 3.3.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/compilers/mruby/default.nix | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/pkgs/development/compilers/mruby/default.nix b/pkgs/development/compilers/mruby/default.nix index 578dbf9c9837e..0a081596616ad 100644 --- a/pkgs/development/compilers/mruby/default.nix +++ b/pkgs/development/compilers/mruby/default.nix @@ -1,14 +1,14 @@ -{ lib, stdenv, ruby, rake, fetchFromGitHub }: +{ lib, stdenv, ruby, rake, fetchFromGitHub, testers }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "mruby"; - version = "3.2.0"; + version = "3.3.0"; src = fetchFromGitHub { owner = "mruby"; repo = "mruby"; - rev = version; - sha256 = "sha256-MmrbWeg/G29YBvVrOtceTOZChrQ2kx9+apl7u7BiGjA="; + rev = finalAttrs.version; + sha256 = "sha256-rCoEC1ioX6bOocPoPi+Lsn4PM8gY0DjKja1/MJvJ1n8="; }; nativeBuildInputs = [ rake ]; @@ -28,11 +28,18 @@ stdenv.mkDerivation rec { checkTarget = "test"; + passthru.tests = { + version = testers.testVersion { + package = finalAttrs.finalPackage; + }; + }; + meta = with lib; { description = "An embeddable implementation of the Ruby language"; homepage = "https://mruby.org"; maintainers = with maintainers; [ nicknovitski marsam ]; license = licenses.mit; platforms = platforms.all; + mainProgram = "mruby"; }; -} +}) |