mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 10:14:09 +00:00
Merge pull request #288934 from marsam/update-mruby
mruby: 3.2.0 -> 3.3.0
This commit is contained in:
commit
c0e3c6f9cb
@ -1,14 +1,14 @@
|
|||||||
{ lib, stdenv, ruby, rake, fetchFromGitHub }:
|
{ lib, stdenv, ruby, rake, fetchFromGitHub, testers }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "mruby";
|
pname = "mruby";
|
||||||
version = "3.2.0";
|
version = "3.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mruby";
|
owner = "mruby";
|
||||||
repo = "mruby";
|
repo = "mruby";
|
||||||
rev = version;
|
rev = finalAttrs.version;
|
||||||
sha256 = "sha256-MmrbWeg/G29YBvVrOtceTOZChrQ2kx9+apl7u7BiGjA=";
|
sha256 = "sha256-rCoEC1ioX6bOocPoPi+Lsn4PM8gY0DjKja1/MJvJ1n8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ rake ];
|
nativeBuildInputs = [ rake ];
|
||||||
@ -28,11 +28,18 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
version = testers.testVersion {
|
||||||
|
package = finalAttrs.finalPackage;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An embeddable implementation of the Ruby language";
|
description = "An embeddable implementation of the Ruby language";
|
||||||
homepage = "https://mruby.org";
|
homepage = "https://mruby.org";
|
||||||
maintainers = with maintainers; [ nicknovitski marsam ];
|
maintainers = with maintainers; [ nicknovitski marsam ];
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
mainProgram = "mruby";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user