@@ -42,8 +42,6 @@
4242, pkgs
4343}:
4444
45−with lib.licenses;
46−
4745let
4846
4947 mkElpaPackages = import ../applications/editors/emacs-modes/elpa-packages.nix {
@@ -63,150 +61,8 @@ let
6361 inherit lib lndir makeWrapper stdenv runCommand;
6462 };
6563
66− mkManualPackages = self: with self; {
67−
68− elisp-ffi = melpaBuild rec {
69− pname = "elisp-ffi";
70− version = "1.0.0";
71− src = fetchFromGitHub {
72− owner = "skeeto";
73− repo = "elisp-ffi";
74− rev = "${version}";
75− sha256 = "0z2n3h5l5fj8wl8i1ilfzv11l3zba14sgph6gz7dx7q12cnp9j22";
76− };
77− buildInputs = [ external.libffi ];
78− preBuild = "make";
79− recipe = writeText "recipe" ''
80− (elisp-ffi
81− :repo "skeeto/elisp-ffi"
82− :fetcher github
83− :files ("ffi-glue" "ffi.el"))
84− '';
85− meta = {
86− description = "Emacs Lisp Foreign Function Interface";
87− longDescription = ''
88− This library provides an FFI for Emacs Lisp so that Emacs
89− programs can invoke functions in native libraries. It works by
90− driving a subprocess to do the heavy lifting, passing result
91− values on to Emacs.
92− '';
93− license = publicDomain;
94− };
95− };
96−
97− agda2-mode = with external; trivialBuild {
98− pname = "agda-mode";
99− version = Agda.version;
100−
101− phases = [ "buildPhase" "installPhase" ];
102−
103− # already byte-compiled by Agda builder
104− buildPhase = ''
105− agda=`${Agda}/bin/agda-mode locate`
106− cp `dirname $agda`/*.el* .
107− '';
108−
109− meta = {
110− description = "Agda2-mode for Emacs extracted from Agda package";
111− longDescription = ''
112− Wrapper packages that liberates init.el from `agda-mode locate` magic.
113− Simply add this to user profile or systemPackages and do `(require 'agda2)` in init.el.
114− '';
115− homepage = Agda.meta.homepage;
116− license = Agda.meta.license;
117− };
118− };
119−
120− ess-R-object-popup =
121− callPackage ../applications/editors/emacs-modes/ess-R-object-popup { };
122−
123− filesets-plus = callPackage ../applications/editors/emacs-modes/filesets-plus { };
124−
125− font-lock-plus = callPackage ../applications/editors/emacs-modes/font-lock-plus { };
126−
127− ghc-mod = melpaBuild rec {
128− pname = "ghc";
129− version = external.ghc-mod.version;
130− src = external.ghc-mod.src;
131− packageRequires = [ haskell-mode ];
132− propagatedUserEnvPkgs = [ external.ghc-mod ];
133− recipe = writeText "recipe" ''
134− (ghc-mod :repo "DanielG/ghc-mod" :fetcher github :files ("elisp/*.el"))
135− '';
136− fileSpecs = [ "elisp/*.el" ];
137− meta = {
138− description = "An extension of haskell-mode that provides completion of symbols and documentation browsing";
139− license = bsd3;
140− };
141− };
142−
143− haskell-unicode-input-method = melpaBuild rec {
144− pname = "emacs-haskell-unicode-input-method";
145− version = "20110905.2307";
146− src = fetchFromGitHub {
147− owner = "roelvandijk";
148− repo = "emacs-haskell-unicode-input-method";
149− rev = "d8d168148c187ed19350bb7a1a190217c2915a63";
150− sha256 = "09b7bg2s9aa4s8f2kdqs4xps3jxkq5wsvbi87ih8b6id38blhf78";
151− };
152− recipe = writeText "recipe" ''
153− (haskell-unicode-input-method
154− :repo "roelvandijk/emacs-haskell-unicode-input-method"
155− :fetcher github)
156− '';
157− packageRequires = [];
158− meta = {
159− homepage = "https://melpa.org/#haskell-unicode-input-method/";
160− license = lib.licenses.free;
161− };
162− };
163−
164− hexrgb = callPackage ../applications/editors/emacs-modes/hexrgb { };
165−
166− header2 = callPackage ../applications/editors/emacs-modes/header2 { };
167−
168− helm-words = callPackage ../applications/editors/emacs-modes/helm-words { };
169−
170− icicles = callPackage ../applications/editors/emacs-modes/icicles { };
171−
172− rtags = melpaBuild rec {
173− inherit (external.rtags) version src meta;
174−
175− pname = "rtags";
176−
177− dontConfigure = true;
178−
179− propagatedUserEnvPkgs = [ external.rtags ];
180− recipe = writeText "recipe" ''
181− (rtags
182− :repo "andersbakken/rtags" :fetcher github
183− :files ("src/*.el"))
184− '';
185− };
186−
187− lib-requires =
188− callPackage ../applications/editors/emacs-modes/lib-requires { };
189−
190− org-mac-link =
191− callPackage ../applications/editors/emacs-modes/org-mac-link { };
192−
193− perl-completion =
194− callPackage ../applications/editors/emacs-modes/perl-completion { };
195−
196− railgun = callPackage ../applications/editors/emacs-modes/railgun { };
197−
198− gn = callPackage ../applications/editors/emacs-modes/gn { };
199−
200− structured-haskell-mode = self.shm;
201−
202− thingatpt-plus = callPackage ../applications/editors/emacs-modes/thingatpt-plus { };
203−
204− tramp = callPackage ../applications/editors/emacs-modes/tramp { };
205−
206− yaoddmuse = callPackage ../applications/editors/emacs-modes/yaoddmuse { };
207−
208− zeitgeist = callPackage ../applications/editors/emacs-modes/zeitgeist { };
209−
64+ mkManualPackages = import ../applications/editors/emacs-modes/manual-packages.nix {
65+ inherit external lib pkgs;
21066 };
21167
21268in lib.makeScope newScope (self: lib.makeOverridable ({