2015-02-09 01:29:48 +01:00
|
|
|
# package.el-based emacs packages
|
2015-05-24 16:08:07 +02:00
|
|
|
|
|
|
|
## FOR USERS
|
2014-01-21 00:57:04 +01:00
|
|
|
#
|
2015-12-17 13:56:28 +01:00
|
|
|
# Recommended: simply use `emacsWithPackages` with the packages you want.
|
2014-01-21 00:57:04 +01:00
|
|
|
#
|
2015-12-17 13:56:28 +01:00
|
|
|
# Alterative: use `emacs`, install everything to a system or user profile
|
|
|
|
# and then add this at the start your `init.el`:
|
2015-05-24 16:08:07 +02:00
|
|
|
/*
|
|
|
|
(require 'package)
|
|
|
|
|
|
|
|
;; optional. makes unpure packages archives unavailable
|
|
|
|
(setq package-archives nil)
|
|
|
|
|
|
|
|
;; optional. use this if you install emacs packages to the system profile
|
|
|
|
(add-to-list 'package-directory-list "/run/current-system/sw/share/emacs/site-lisp/elpa")
|
|
|
|
|
|
|
|
;; optional. use this if you install emacs packages to user profiles (with nix-env)
|
|
|
|
(add-to-list 'package-directory-list "~/.nix-profile/share/emacs/site-lisp/elpa")
|
|
|
|
|
|
|
|
(package-initialize)
|
|
|
|
*/
|
|
|
|
|
|
|
|
## FOR CONTRIBUTORS
|
2014-01-21 00:57:04 +01:00
|
|
|
#
|
2015-05-24 16:08:07 +02:00
|
|
|
# When adding a new package here please note that
|
2016-01-16 18:06:48 +01:00
|
|
|
# * please use `elpaBuild` for pre-built package.el packages and
|
|
|
|
# `melpaBuild` or `trivialBuild` if the package must actually
|
|
|
|
# be built from the source.
|
2015-05-24 16:08:07 +02:00
|
|
|
# * lib.licenses are `with`ed on top of the file here
|
|
|
|
# * both trivialBuild and melpaBuild will automatically derive a
|
|
|
|
# `meta` with `platforms` and `homepage` set to something you are
|
|
|
|
# unlikely to want to override for most packages
|
2015-02-09 01:29:48 +01:00
|
|
|
|
2019-06-16 21:59:06 +02:00
|
|
|
{ lib, newScope, stdenv, fetchurl, fetchFromGitHub, runCommand, writeText
|
2014-01-21 00:57:04 +01:00
|
|
|
|
2016-01-20 19:53:11 +01:00
|
|
|
, emacs, texinfo, lndir, makeWrapper
|
2014-01-21 00:57:04 +01:00
|
|
|
, trivialBuild
|
|
|
|
, melpaBuild
|
|
|
|
|
|
|
|
, external
|
2018-07-20 21:54:05 +02:00
|
|
|
}:
|
2014-01-21 00:57:04 +01:00
|
|
|
|
2015-03-09 17:19:36 +01:00
|
|
|
with lib.licenses;
|
2014-01-21 00:57:04 +01:00
|
|
|
|
2015-12-15 18:57:51 +01:00
|
|
|
let
|
|
|
|
|
2015-12-17 03:43:43 +01:00
|
|
|
elpaPackages = import ../applications/editors/emacs-modes/elpa-packages.nix {
|
2019-06-16 21:59:06 +02:00
|
|
|
inherit lib stdenv texinfo;
|
2015-12-17 03:43:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
melpaStablePackages = import ../applications/editors/emacs-modes/melpa-stable-packages.nix {
|
2018-07-21 02:44:44 +02:00
|
|
|
inherit external;
|
2015-12-17 03:43:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
melpaPackages = import ../applications/editors/emacs-modes/melpa-packages.nix {
|
2017-02-10 19:51:22 +01:00
|
|
|
inherit external lib;
|
2015-12-17 03:43:43 +01:00
|
|
|
};
|
|
|
|
|
2018-07-21 02:44:44 +02:00
|
|
|
orgPackages = import ../applications/editors/emacs-modes/org-packages.nix { };
|
2016-05-08 00:50:58 +02:00
|
|
|
|
2016-08-19 22:09:41 +02:00
|
|
|
emacsWithPackages = import ../build-support/emacs/wrapper.nix {
|
2016-05-12 22:15:40 +02:00
|
|
|
inherit lib lndir makeWrapper stdenv runCommand;
|
2015-12-17 03:53:12 +01:00
|
|
|
};
|
|
|
|
|
2015-12-16 19:45:57 +01:00
|
|
|
packagesFun = self: with self; {
|
2014-01-21 00:57:04 +01:00
|
|
|
|
2015-12-07 13:28:56 +01:00
|
|
|
inherit emacs melpaBuild trivialBuild;
|
2015-04-02 13:44:58 +02:00
|
|
|
|
2016-08-19 22:09:41 +02:00
|
|
|
emacsWithPackages = emacsWithPackages self;
|
2015-12-17 03:53:12 +01:00
|
|
|
|
2014-01-21 00:57:04 +01:00
|
|
|
## START HERE
|
2015-02-09 01:29:48 +01:00
|
|
|
|
2015-11-17 14:36:27 +01:00
|
|
|
pdf-tools = melpaBuild rec {
|
|
|
|
pname = "pdf-tools";
|
2019-01-08 14:25:00 +01:00
|
|
|
version = "0.90";
|
2015-11-17 14:36:27 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "politza";
|
|
|
|
repo = "pdf-tools";
|
|
|
|
rev = "v${version}";
|
2019-01-08 14:25:00 +01:00
|
|
|
sha256 = "0iv2g5kd14zk3r5dzdw7b7hk4b5w7qpbilcqkja46jgxbb6xnpl9";
|
2015-11-17 14:36:27 +01:00
|
|
|
};
|
2017-10-10 13:07:13 +02:00
|
|
|
nativeBuildInputs = [ external.pkgconfig ];
|
2017-09-05 23:26:13 +02:00
|
|
|
buildInputs = with external; [ autoconf automake libpng zlib poppler ];
|
2015-11-17 14:36:27 +01:00
|
|
|
preBuild = "make server/epdfinfo";
|
2018-07-16 03:52:41 +02:00
|
|
|
recipe = writeText "recipe" ''
|
|
|
|
(pdf-tools
|
|
|
|
:repo "politza/pdf-tools" :fetcher github
|
|
|
|
:files ("lisp/pdf-*.el" "server/epdfinfo"))
|
|
|
|
'';
|
2016-01-08 23:11:06 +01:00
|
|
|
packageRequires = [ tablist let-alist ];
|
2015-11-17 14:36:27 +01:00
|
|
|
meta = {
|
|
|
|
description = "Emacs support library for PDF files";
|
|
|
|
license = gpl3;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-11-12 13:51:39 +01:00
|
|
|
elisp-ffi = melpaBuild rec {
|
2015-11-14 00:08:42 +01:00
|
|
|
pname = "elisp-ffi";
|
|
|
|
version = "1.0.0";
|
2015-11-12 13:51:39 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skeeto";
|
|
|
|
repo = "elisp-ffi";
|
2015-11-14 00:08:42 +01:00
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "0z2n3h5l5fj8wl8i1ilfzv11l3zba14sgph6gz7dx7q12cnp9j22";
|
2015-11-12 13:51:39 +01:00
|
|
|
};
|
|
|
|
buildInputs = [ external.libffi ];
|
|
|
|
preBuild = "make";
|
2018-07-16 03:52:41 +02:00
|
|
|
recipe = writeText "recipe" ''
|
|
|
|
(elisp-ffi
|
|
|
|
:repo "skeeto/elisp-ffi"
|
|
|
|
:fetcher github
|
|
|
|
:files ("ffi-glue" "ffi.el"))
|
|
|
|
'';
|
2015-11-12 13:51:39 +01:00
|
|
|
meta = {
|
|
|
|
description = "Emacs Lisp Foreign Function Interface";
|
|
|
|
longDescription = ''
|
|
|
|
This library provides an FFI for Emacs Lisp so that Emacs
|
|
|
|
programs can invoke functions in native libraries. It works by
|
|
|
|
driving a subprocess to do the heavy lifting, passing result
|
|
|
|
values on to Emacs.
|
|
|
|
'';
|
|
|
|
license = publicDomain;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-01-21 01:22:32 +01:00
|
|
|
agda2-mode = with external; trivialBuild {
|
|
|
|
pname = "agda-mode";
|
|
|
|
version = Agda.version;
|
|
|
|
|
|
|
|
phases = [ "buildPhase" "installPhase" ];
|
|
|
|
|
|
|
|
# already byte-compiled by Agda builder
|
|
|
|
buildPhase = ''
|
|
|
|
agda=`${Agda}/bin/agda-mode locate`
|
|
|
|
cp `dirname $agda`/*.el* .
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Agda2-mode for Emacs extracted from Agda package";
|
|
|
|
longDescription = ''
|
|
|
|
Wrapper packages that liberates init.el from `agda-mode locate` magic.
|
|
|
|
Simply add this to user profile or systemPackages and do `(require 'agda2)` in init.el.
|
|
|
|
'';
|
|
|
|
homepage = Agda.meta.homepage;
|
|
|
|
license = Agda.meta.license;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-01-13 09:29:41 +01:00
|
|
|
emacsql-sqlite = melpaBuild rec {
|
|
|
|
pname = "emacsql-sqlite";
|
|
|
|
ename = "emacsql-sqlite";
|
|
|
|
version = "20180128.1252";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skeeto";
|
|
|
|
repo = "emacsql";
|
|
|
|
rev = "62d39157370219a1680265fa593f90ccd51457da";
|
|
|
|
sha256 = "0ghl3g8n8wlw8rnmgbivlrm99wcwn93bv8flyalzs0z9j7p7fdq9";
|
|
|
|
};
|
|
|
|
recipe = fetchurl {
|
|
|
|
url = "https://raw.githubusercontent.com/milkypostman/melpa/3cfa28c7314fa57fa9a3aaaadf9ef83f8ae541a9/recipes/emacsql-sqlite";
|
|
|
|
sha256 = "1y81nabzzb9f7b8azb9giy23ckywcbrrg4b88gw5qyjizbb3h70x";
|
|
|
|
name = "recipe";
|
|
|
|
};
|
|
|
|
preBuild = ''
|
|
|
|
cd sqlite
|
|
|
|
make
|
|
|
|
'';
|
2019-05-31 04:32:27 +02:00
|
|
|
stripDebugList = [ "share" ];
|
2019-01-13 09:29:41 +01:00
|
|
|
packageRequires = [ emacs emacsql ];
|
|
|
|
meta = {
|
|
|
|
homepage = "https://melpa.org/#/emacsql-sqlite";
|
|
|
|
license = lib.licenses.free;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-09-25 15:06:58 +02:00
|
|
|
elpy = melpaBuild rec {
|
|
|
|
pname = "elpy";
|
2015-10-01 12:31:11 +02:00
|
|
|
version = external.elpy.version;
|
2015-09-25 15:06:58 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jorgenschaefer";
|
|
|
|
repo = pname;
|
|
|
|
rev = "39ea47c73f040ce8dcc1c2d2639ebc0eb57ab8c8";
|
|
|
|
sha256 = "0q3av1qv4m6aj4bil608f688hjpr5px8zqnnrdqx784nz98rpjrs";
|
|
|
|
};
|
2018-07-16 03:52:41 +02:00
|
|
|
recipe = writeText "recipe" ''
|
|
|
|
(elpy :repo "jorgenschaefer/elpy" :fetcher github)
|
|
|
|
'';
|
2015-09-25 15:06:58 +02:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
for file in elpy.el elpy-pkg.el; do
|
|
|
|
substituteInPlace $file \
|
|
|
|
--replace "company \"0.8.2\"" "company \"${company.version}\"" \
|
2018-09-09 17:14:59 +02:00
|
|
|
--replace "find-file-in-project \"3.3\"" "find-file-in-project \"${(melpaPackages self).find-file-in-project.version}\"" \
|
2015-09-25 15:06:58 +02:00
|
|
|
--replace "highlight-indentation \"0.5.0\"" "highlight-indentation \"${highlight-indentation.version}\"" \
|
|
|
|
--replace "pyvenv \"1.3\"" "pyvenv \"${pyvenv.version}\"" \
|
|
|
|
--replace "yasnippet \"0.8.0\"" "yasnippet \"${yasnippet.version}\""
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
packageRequires = [
|
|
|
|
company find-file-in-project highlight-indentation pyvenv yasnippet
|
|
|
|
];
|
|
|
|
|
2015-10-01 12:31:11 +02:00
|
|
|
propagatedUserEnvPkgs = [ external.elpy ] ++ packageRequires;
|
|
|
|
|
2015-09-25 15:06:58 +02:00
|
|
|
meta = {
|
|
|
|
description = "Emacs Python Development Environment";
|
|
|
|
longDescription = ''
|
|
|
|
Elpy is an Emacs package to bring powerful Python editing to Emacs.
|
|
|
|
It combines a number of other packages, both written in Emacs Lisp as
|
|
|
|
well as Python.
|
|
|
|
'';
|
|
|
|
license = gpl3Plus;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-05-16 07:56:13 +02:00
|
|
|
emacs-libvterm = callPackage ../applications/editors/emacs-modes/emacs-libvterm { };
|
|
|
|
|
2016-01-07 14:23:04 +01:00
|
|
|
evil-jumper = melpaBuild rec {
|
|
|
|
pname = "evil-jumper";
|
|
|
|
version = "20151017";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bling";
|
|
|
|
repo = pname;
|
|
|
|
rev = "fcadf2d93aaea3ba88a2ae63a860b9c1f0568167";
|
|
|
|
sha256 = "0axx6cc9z9c1wh7qgm6ya54dsp3bn82bnb0cwj1rpv509qqmwgsj";
|
|
|
|
};
|
2018-07-16 03:52:41 +02:00
|
|
|
recipe = writeText "recipe" ''
|
|
|
|
(evil-jumper :repo "bling/evil-jumper" :fetcher github)
|
|
|
|
'';
|
2016-01-07 14:23:04 +01:00
|
|
|
packageRequires = [ evil ];
|
|
|
|
meta = {
|
|
|
|
description = "Jump across buffer boundaries and revive dead buffers if necessary";
|
|
|
|
license = gpl3Plus;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-11-13 01:43:35 +01:00
|
|
|
ess-R-object-popup =
|
|
|
|
callPackage ../applications/editors/emacs-modes/ess-R-object-popup { };
|
|
|
|
|
|
|
|
filesets-plus = callPackage ../applications/editors/emacs-modes/filesets-plus { };
|
|
|
|
|
2017-11-06 04:39:13 +01:00
|
|
|
font-lock-plus = callPackage ../applications/editors/emacs-modes/font-lock-plus { };
|
|
|
|
|
2015-02-18 00:06:27 +01:00
|
|
|
ghc-mod = melpaBuild rec {
|
2015-02-09 01:29:48 +01:00
|
|
|
pname = "ghc";
|
|
|
|
version = external.ghc-mod.version;
|
|
|
|
src = external.ghc-mod.src;
|
2015-08-16 19:25:46 +02:00
|
|
|
packageRequires = [ haskell-mode ];
|
2015-03-24 23:54:31 +01:00
|
|
|
propagatedUserEnvPkgs = [ external.ghc-mod ];
|
2018-07-16 03:52:41 +02:00
|
|
|
recipe = writeText "recipe" ''
|
|
|
|
(ghc-mod :repo "DanielG/ghc-mod" :fetcher github :files ("elisp/*.el"))
|
|
|
|
'';
|
2015-02-09 01:29:48 +01:00
|
|
|
fileSpecs = [ "elisp/*.el" ];
|
2015-09-20 00:09:21 +02:00
|
|
|
meta = {
|
|
|
|
description = "An extension of haskell-mode that provides completion of symbols and documentation browsing";
|
|
|
|
license = bsd3;
|
|
|
|
};
|
2015-02-18 00:06:27 +01:00
|
|
|
};
|
2015-02-09 01:29:48 +01:00
|
|
|
|
2016-12-25 14:45:37 +01:00
|
|
|
haskell-unicode-input-method = melpaBuild rec {
|
|
|
|
pname = "emacs-haskell-unicode-input-method";
|
|
|
|
version = "20110905.2307";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "roelvandijk";
|
|
|
|
repo = "emacs-haskell-unicode-input-method";
|
|
|
|
rev = "d8d168148c187ed19350bb7a1a190217c2915a63";
|
|
|
|
sha256 = "09b7bg2s9aa4s8f2kdqs4xps3jxkq5wsvbi87ih8b6id38blhf78";
|
|
|
|
};
|
2018-07-16 03:52:41 +02:00
|
|
|
recipe = writeText "recipe" ''
|
|
|
|
(haskell-unicode-input-method
|
|
|
|
:repo "roelvandijk/emacs-haskell-unicode-input-method"
|
|
|
|
:fetcher github)
|
|
|
|
'';
|
2016-12-25 14:45:37 +01:00
|
|
|
packageRequires = [];
|
|
|
|
meta = {
|
|
|
|
homepage = "https://melpa.org/#haskell-unicode-input-method/";
|
|
|
|
license = lib.licenses.free;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-11-13 01:43:35 +01:00
|
|
|
hexrgb = callPackage ../applications/editors/emacs-modes/hexrgb { };
|
|
|
|
|
|
|
|
header2 = callPackage ../applications/editors/emacs-modes/header2 { };
|
|
|
|
|
|
|
|
helm-words = callPackage ../applications/editors/emacs-modes/helm-words { };
|
|
|
|
|
2017-10-31 23:54:11 +01:00
|
|
|
icicles = callPackage ../applications/editors/emacs-modes/icicles { };
|
|
|
|
|
2019-06-09 04:51:56 +02:00
|
|
|
irony = melpaBuild rec {
|
|
|
|
pname = "irony";
|
|
|
|
ename = "irony";
|
|
|
|
version = "20190516";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Sarcasm";
|
|
|
|
repo = "irony-mode";
|
|
|
|
rev = "c3ae899b61124a747ebafc705086345e460ac08e";
|
|
|
|
sha256 = "06ld83vzyklfmrfi6pp893mvlnhacv9if75c9pbipjvy6nwfb63r";
|
|
|
|
};
|
|
|
|
recipe = fetchurl {
|
|
|
|
url = "https://raw.githubusercontent.com/milkypostman/melpa/3cfa28c7314fa57fa9a3aaaadf9ef83f8ae541a9/recipes/irony";
|
|
|
|
sha256 = "1xcxrdrs7imi31nxpszgpaywq4ivni75hrdl4zzrf103xslqpl8a";
|
|
|
|
name = "recipe";
|
|
|
|
};
|
|
|
|
preConfigure = ''
|
|
|
|
cd server
|
|
|
|
'';
|
|
|
|
preBuild = ''
|
|
|
|
make
|
|
|
|
'';
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out
|
|
|
|
mv $out/share/emacs/site-lisp/elpa/*/server/bin $out
|
2019-07-01 19:37:22 +02:00
|
|
|
rm -rf $out/share/emacs/site-lisp/elpa/*/server
|
2019-06-09 04:51:56 +02:00
|
|
|
'';
|
|
|
|
preCheck = ''
|
|
|
|
cd source/server
|
|
|
|
'';
|
|
|
|
dontUseCmakeBuildDir = true;
|
|
|
|
doCheck = true;
|
|
|
|
packageRequires = [ emacs ];
|
2019-06-19 19:27:08 +02:00
|
|
|
nativeBuildInputs = [ external.cmake external.llvmPackages.llvm external.llvmPackages.clang ];
|
2019-06-09 04:51:56 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "https://melpa.org/#/irony";
|
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-11-13 01:43:35 +01:00
|
|
|
redshank = callPackage ../applications/editors/emacs-modes/redshank { };
|
|
|
|
|
2015-10-17 05:54:15 +02:00
|
|
|
rtags = melpaBuild rec {
|
|
|
|
pname = "rtags";
|
2017-09-01 15:57:05 +02:00
|
|
|
version = "2.12";
|
2015-10-17 05:54:15 +02:00
|
|
|
src = external.rtags.src;
|
2017-09-01 15:57:05 +02:00
|
|
|
|
2019-06-19 17:36:06 +02:00
|
|
|
dontConfigure = true;
|
2017-09-01 15:57:05 +02:00
|
|
|
|
2015-10-17 05:54:15 +02:00
|
|
|
propagatedUserEnvPkgs = [ external.rtags ];
|
2018-07-16 03:52:41 +02:00
|
|
|
recipe = writeText "recipe" ''
|
|
|
|
(rtags
|
|
|
|
:repo "andersbakken/rtags" :fetcher github
|
|
|
|
:files ("src/*.el"))
|
|
|
|
'';
|
2015-10-17 05:54:15 +02:00
|
|
|
inherit (external.rtags) meta;
|
2015-02-18 00:06:27 +01:00
|
|
|
};
|
2015-02-09 01:29:48 +01:00
|
|
|
|
2015-02-18 00:06:27 +01:00
|
|
|
lcs = melpaBuild rec {
|
2015-02-09 01:29:48 +01:00
|
|
|
pname = "lcs";
|
2015-12-14 22:22:15 +01:00
|
|
|
version = circe.version;
|
|
|
|
src = circe.src;
|
2018-07-16 03:52:41 +02:00
|
|
|
recipe = writeText "recipe" ''
|
|
|
|
(lcs :repo "jorgenschaefer/circe" :fetcher github :files ("lcs.el"))
|
|
|
|
'';
|
2015-09-20 00:09:21 +02:00
|
|
|
meta = {
|
|
|
|
description = "Longest Common Sequence (LCS) library for Emacs";
|
|
|
|
license = gpl3Plus;
|
|
|
|
};
|
2015-02-18 00:06:27 +01:00
|
|
|
};
|
2015-02-09 01:29:48 +01:00
|
|
|
|
2017-11-13 01:43:35 +01:00
|
|
|
lib-requires =
|
|
|
|
callPackage ../applications/editors/emacs-modes/lib-requires { };
|
|
|
|
|
2015-02-18 00:06:27 +01:00
|
|
|
lui = melpaBuild rec {
|
2015-02-09 01:29:48 +01:00
|
|
|
pname = "lui";
|
2015-12-14 22:22:15 +01:00
|
|
|
version = circe.version;
|
|
|
|
src = circe.src;
|
2015-02-09 01:29:48 +01:00
|
|
|
packageRequires = [ tracking ];
|
2018-07-16 03:52:41 +02:00
|
|
|
recipe = writeText "recipe" ''
|
|
|
|
(lcs :repo "jorgenschaefer/circe" :fetcher github :files ("lui*.el"))
|
|
|
|
'';
|
2015-09-20 00:09:21 +02:00
|
|
|
meta = {
|
|
|
|
description = "User interface library for Emacs";
|
|
|
|
license = gpl3Plus;
|
|
|
|
};
|
2015-02-18 00:06:27 +01:00
|
|
|
};
|
2015-02-09 01:29:48 +01:00
|
|
|
|
2015-05-24 16:06:12 +02:00
|
|
|
nyan-mode = callPackage ../applications/editors/emacs-modes/nyan-mode {
|
|
|
|
inherit lib;
|
|
|
|
};
|
2014-01-21 01:12:55 +01:00
|
|
|
|
2017-11-13 01:43:35 +01:00
|
|
|
org-mac-link =
|
|
|
|
callPackage ../applications/editors/emacs-modes/org-mac-link { };
|
|
|
|
|
|
|
|
perl-completion =
|
|
|
|
callPackage ../applications/editors/emacs-modes/perl-completion { };
|
|
|
|
|
|
|
|
railgun = callPackage ../applications/editors/emacs-modes/railgun { };
|
|
|
|
|
2016-10-14 18:35:18 +02:00
|
|
|
gn = callPackage ../applications/editors/emacs-modes/gn { };
|
|
|
|
|
2015-12-14 22:22:15 +01:00
|
|
|
shorten = melpaBuild rec {
|
|
|
|
pname = "shorten";
|
|
|
|
version = circe.version;
|
|
|
|
src = circe.src;
|
2018-07-16 03:52:41 +02:00
|
|
|
recipe = writeText "recipe" ''
|
|
|
|
(shorten :repo "jorgenschaefer/circe" :fetcher github :files ("shorten.el"))
|
|
|
|
'';
|
2015-09-20 00:09:21 +02:00
|
|
|
meta = {
|
|
|
|
description = "String shortening to unique prefix library for Emacs";
|
|
|
|
license = gpl3Plus;
|
|
|
|
};
|
2015-02-18 00:06:27 +01:00
|
|
|
};
|
2015-02-09 01:29:48 +01:00
|
|
|
|
2017-11-13 01:43:35 +01:00
|
|
|
stgit = callPackage ../applications/editors/emacs-modes/stgit { };
|
|
|
|
|
2018-07-16 03:52:41 +02:00
|
|
|
structured-haskell-mode = self.shm;
|
|
|
|
shm = (melpaPackages self).shm.overrideAttrs (attrs: {
|
2016-06-07 05:23:39 +02:00
|
|
|
propagatedUserEnvPkgs = [ external.structured-haskell-mode ];
|
2018-07-16 03:52:41 +02:00
|
|
|
});
|
2015-02-09 01:29:48 +01:00
|
|
|
|
2017-11-13 01:43:35 +01:00
|
|
|
thingatpt-plus = callPackage ../applications/editors/emacs-modes/thingatpt-plus { };
|
|
|
|
|
2016-09-14 21:32:29 +02:00
|
|
|
tramp = callPackage ../applications/editors/emacs-modes/tramp { };
|
|
|
|
|
2017-11-13 01:43:35 +01:00
|
|
|
yaoddmuse = callPackage ../applications/editors/emacs-modes/yaoddmuse { };
|
|
|
|
|
|
|
|
zeitgeist = callPackage ../applications/editors/emacs-modes/zeitgeist { };
|
|
|
|
|
2019-07-11 04:13:26 +02:00
|
|
|
zmq = melpaBuild rec {
|
|
|
|
pname = "zmq";
|
|
|
|
ename = "zmq";
|
|
|
|
version = "0.10.10";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dzop";
|
|
|
|
repo = "emacs-zmq";
|
|
|
|
rev = "v0.10.10";
|
|
|
|
sha256 = "0ngxm5mm0kqgvn8977ryrngamx0khzlw86d8vz5s0jhm2kgwnqp8";
|
|
|
|
};
|
|
|
|
recipe = fetchurl {
|
|
|
|
url = "https://raw.githubusercontent.com/milkypostman/melpa/72f4dcc2723de826bf1af7235ac6d9119a243c63/recipes/zmq";
|
|
|
|
sha256 = "14bbh00a58xgxyxl8zjxl57rf6351fnwsnk4cvvy341fvf86dklc";
|
|
|
|
name = "recipe";
|
|
|
|
};
|
|
|
|
stripDebugList = [ "share" ];
|
|
|
|
packageRequires = [ emacs ];
|
2019-07-19 05:09:55 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
external.autoconf external.automake external.pkgconfig external.libtool
|
|
|
|
(external.zeromq.override { enableDrafts = true; })
|
|
|
|
];
|
2019-07-11 04:13:26 +02:00
|
|
|
preBuild = ''
|
|
|
|
make
|
|
|
|
'';
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/share/emacs/site-lisp/elpa/zmq-*/src/.libs/emacs-zmq.so $out/share/emacs/site-lisp/elpa/zmq-*
|
|
|
|
rm -r $out/share/emacs/site-lisp/elpa/zmq-*/src
|
|
|
|
rm $out/share/emacs/site-lisp/elpa/zmq-*/Makefile
|
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
homepage = "https://melpa.org/#/zmq";
|
|
|
|
description = "Emacs bindings to ØMQ";
|
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-12-15 18:57:51 +01:00
|
|
|
};
|
2015-12-06 20:17:41 +01:00
|
|
|
|
2015-12-15 18:57:51 +01:00
|
|
|
in
|
2015-12-16 19:45:57 +01:00
|
|
|
lib.makeScope newScope (self:
|
|
|
|
{}
|
2018-03-25 14:56:15 +02:00
|
|
|
// elpaPackages self
|
2018-03-06 17:01:01 +01:00
|
|
|
// melpaStablePackages self
|
2015-12-16 19:45:57 +01:00
|
|
|
// melpaPackages self
|
2016-05-08 00:50:58 +02:00
|
|
|
// orgPackages self
|
2015-12-16 19:45:57 +01:00
|
|
|
// packagesFun self
|
|
|
|
)
|