1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 04:51:31 +03:00

mrbgems: Add mruby-fiddle

Bindings to libffi, with (approximatively) the same API as the Ruby
Fiddle stdlib.

This uses a fork with fixes, and hopefully improvements and
maintainership in the future.
This commit is contained in:
Samuel Dionne-Riel 2020-05-18 22:44:56 -04:00
parent 74611efdcd
commit d89521ab98

View File

@ -1,4 +1,4 @@
{ stdenvNoCC, lib, fetchFromGitHub }:
{ stdenvNoCC, lib, fetchFromGitHub, libffi }:
let
inherit (lib) licenses;
@ -94,6 +94,21 @@ rec {
meta.license = licenses.mit;
};
mruby-fiddle = mkGem {
src = fetchFromGitHub {
repo = "mruby-fiddle";
owner = "mobile-nixos";
rev = "b8b7f82a98a24384995a38012b7e08c7bc6c630c";
sha256 = "1138vsk6pyqxw64xnic6a91ip9bxn9zxck4kcdx653ba5s0wzaz4";
};
gemBuildInputs = [
libffi
];
meta.license = licenses.mit;
};
mruby-file-stat = mkGem {
src = fetchFromGitHub {
repo = "mruby-file-stat";