@@ -99,6 +99,30 @@ let self = _self // overrides;
9999 };
100100 };
101101
102+ elisp-ffi = melpaBuild rec {
103+ pname = "elisp-ffi-git";
104+ version = "20141103";
105+ src = fetchFromGitHub {
106+ owner = "skeeto";
107+ repo = "elisp-ffi";
108+ rev = "eb3d826d68ace9f9a41515ab3820376c0d141634";
109+ sha256 = "0w7r56qf2h8wgfs81fc9k8w8949kf2djyhsh8p12dk365nm11n2s";
110+ };
111+ buildInputs = [ external.libffi ];
112+ preBuild = "make";
113+ files = [ "ffi-glue" "ffi.el" ];
114+ meta = {
115+ description = "Emacs Lisp Foreign Function Interface";
116+ longDescription = ''
117+ This library provides an FFI for Emacs Lisp so that Emacs
118+ programs can invoke functions in native libraries. It works by
119+ driving a subprocess to do the heavy lifting, passing result
120+ values on to Emacs.
121+ '';
122+ license = publicDomain;
123+ };
124+ };
125+
102126 agda2-mode = with external; trivialBuild {
103127 pname = "agda-mode";
104128 version = Agda.version;