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.
-{ 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";
