1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

mruby: init at 1.4.1

This commit is contained in:
Nick Novitski 2018-08-09 13:24:56 -07:00 committed by Samuel Dionne-Riel
parent bca83f7cd1
commit c26a6db0f8
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, ruby, bison, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "mruby-${version}";
version = "1.4.1";
src = fetchFromGitHub {
owner = "mruby";
repo = "mruby";
rev = version;
sha256 = "0pw72acbqgs4n1qa297nnja23v9hxz9g7190yfx9kwm7mgbllmww";
};
nativeBuildInputs = [ ruby bison ];
installPhase = ''
mkdir $out
cp -R build/host/{bin,lib} $out
'';
meta = with stdenv.lib; {
description = "An embeddable implementation of the Ruby language";
homepage = https://mruby.org;
maintainers = [ maintainers.nicknovitski ];
license = licenses.mit;
platforms = platforms.unix;
};
}

View file

@ -7638,6 +7638,8 @@ with pkgs;
ruby = ruby_2_4;
mruby = callPackage ../development/compilers/mruby { };
scsh = callPackage ../development/interpreters/scsh { };
scheme48 = callPackage ../development/interpreters/scheme48 { };