2015-12-17 14:14:10 +01:00
|
|
|
/*
|
|
|
|
|
|
|
|
# Updating
|
|
|
|
|
|
|
|
To update the list of packages from MELPA,
|
|
|
|
|
2019-04-08 22:06:50 +02:00
|
|
|
1. Run ./update-melpa
|
|
|
|
2. Check for evaluation errors:
|
|
|
|
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../ -A emacsPackagesNg.melpaStablePackages
|
|
|
|
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../ -A emacsPackagesNg.melpaPackages
|
|
|
|
3. `git commit -m "melpa-packages: $(date -Idate)" recipes-archive-melpa.json`
|
2015-12-17 14:14:10 +01:00
|
|
|
|
|
|
|
*/
|
|
|
|
|
2019-08-04 18:55:15 +02:00
|
|
|
{ lib, external, pkgs }: variant: self: let
|
2015-12-15 02:48:13 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
dontConfigure = pkg: if pkg != null then pkg.override (args: {
|
|
|
|
melpaBuild = drv: args.melpaBuild (drv // {
|
|
|
|
configureScript = "true";
|
2016-01-15 22:01:09 +01:00
|
|
|
});
|
2019-08-03 21:48:11 +02:00
|
|
|
}) else null;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
markBroken = pkg: if pkg != null then pkg.override (args: {
|
|
|
|
melpaBuild = drv: args.melpaBuild (drv // {
|
|
|
|
meta = (drv.meta or {}) // { broken = true; };
|
2016-01-15 22:01:09 +01:00
|
|
|
});
|
2019-08-03 21:48:11 +02:00
|
|
|
}) else null;
|
2015-12-22 13:50:21 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
generateMelpa = lib.makeOverridable ({
|
|
|
|
archiveJson ? ./recipes-archive-melpa.json
|
|
|
|
}: let
|
2017-12-18 19:44:36 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
inherit (import ./libgenerated.nix lib self) melpaDerivation;
|
|
|
|
super = lib.listToAttrs (map (melpaDerivation variant) (lib.importJSON archiveJson));
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
overrides = rec {
|
|
|
|
shared = {
|
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
ac-rtags = markBroken super.ac-rtags;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
airline-themes = super.airline-themes.override {
|
|
|
|
inherit (self.melpaPackages) powerline;
|
|
|
|
};
|
2017-12-11 09:52:48 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
bufshow = markBroken super.bufshow;
|
2017-12-18 19:44:36 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# part of a larger package
|
|
|
|
caml = dontConfigure super.caml;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-12 02:26:34 +02:00
|
|
|
cmake-mode = super.cmake-mode.overrideAttrs (attrs: {
|
|
|
|
buildInputs = (attrs.buildInputs or []) ++ [
|
|
|
|
external.openssl
|
|
|
|
];
|
|
|
|
nativeBuildInputs = (attrs.nativeBuildInputs or []) ++ [
|
|
|
|
external.pkgconfig
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
company-rtags = markBroken super.company-rtags;
|
2018-09-11 16:48:33 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
easy-kill-extras = super.easy-kill-extras.override {
|
|
|
|
inherit (self.melpaPackages) easy-kill;
|
|
|
|
};
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
elmine = markBroken super.elmine;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-04 20:36:57 +02:00
|
|
|
elpy = super.elpy.overrideAttrs(old: {
|
|
|
|
propagatedUserEnvPkgs = old.propagatedUserEnvPkgs ++ [ external.elpy ];
|
|
|
|
});
|
|
|
|
|
2019-08-14 22:42:01 +02:00
|
|
|
emacsql-sqlite = super.emacsql-sqlite.overrideAttrs(old: {
|
|
|
|
buildInputs = old.buildInputs ++ [ pkgs.sqlite ];
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
cd source/sqlite
|
|
|
|
make
|
|
|
|
cd -
|
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
install -m=755 -D source/sqlite/emacsql-sqlite \
|
|
|
|
$out/share/emacs/site-lisp/elpa/emacsql-sqlite-${old.version}/sqlite/emacsql-sqlite
|
|
|
|
'';
|
|
|
|
|
|
|
|
stripDebugList = [ "share" ];
|
|
|
|
});
|
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
evil-magit = super.evil-magit.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
ess-R-data-view = super.ess-R-data-view.override {
|
|
|
|
inherit (self.melpaPackages) ess ctable popup;
|
|
|
|
};
|
2018-08-02 07:46:07 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
flycheck-rtags = markBroken super.flycheck-rtags;
|
2018-08-02 07:46:21 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# build timeout
|
|
|
|
graphene = markBroken super.graphene;
|
2017-12-18 19:44:36 +01:00
|
|
|
|
2019-08-04 18:55:15 +02:00
|
|
|
pdf-tools = super.pdf-tools.overrideAttrs(old: {
|
|
|
|
nativeBuildInputs = [ external.pkgconfig ];
|
|
|
|
buildInputs = with external; old.buildInputs ++ [ autoconf automake libpng zlib poppler ];
|
|
|
|
preBuild = "make server/epdfinfo";
|
|
|
|
recipe = pkgs.writeText "recipe" ''
|
|
|
|
(pdf-tools
|
|
|
|
:repo "politza/pdf-tools" :fetcher github
|
|
|
|
:files ("lisp/pdf-*.el" "server/epdfinfo"))
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# Build same version as Haskell package
|
|
|
|
hindent = super.hindent.overrideAttrs (attrs: {
|
|
|
|
version = external.hindent.version;
|
|
|
|
src = external.hindent.src;
|
|
|
|
packageRequires = [ self.haskell-mode ];
|
|
|
|
propagatedUserEnvPkgs = [ external.hindent ];
|
|
|
|
});
|
2019-01-10 17:16:04 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
ido-complete-space-or-hyphen = markBroken super.ido-complete-space-or-hyphen;
|
2016-01-22 22:13:41 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
initsplit = markBroken super.initsplit;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-26 03:54:45 +02:00
|
|
|
irony = super.irony.overrideAttrs (old: {
|
|
|
|
cmakeFlags = old.cmakeFlags or [] ++ [ "-DCMAKE_INSTALL_BINDIR=bin" ];
|
2019-08-30 00:22:00 +02:00
|
|
|
NIX_CFLAGS_COMPILE = "-UCLANG_RESOURCE_DIR";
|
2019-08-04 21:53:10 +02:00
|
|
|
preConfigure = ''
|
|
|
|
cd server
|
|
|
|
'';
|
|
|
|
preBuild = ''
|
|
|
|
make
|
2019-08-26 03:54:45 +02:00
|
|
|
install -D bin/irony-server $out/bin/irony-server
|
|
|
|
cd ..
|
2019-08-04 21:53:10 +02:00
|
|
|
'';
|
2019-08-26 03:54:45 +02:00
|
|
|
checkPhase = ''
|
2019-08-04 21:53:10 +02:00
|
|
|
cd source/server
|
2019-08-26 03:54:45 +02:00
|
|
|
make check
|
|
|
|
cd ../..
|
2019-08-04 21:53:10 +02:00
|
|
|
'';
|
2019-08-30 00:22:00 +02:00
|
|
|
preFixup = ''
|
|
|
|
rm -rf $out/share/emacs/site-lisp/elpa/*/server
|
|
|
|
'';
|
2019-08-04 21:53:10 +02:00
|
|
|
dontUseCmakeBuildDir = true;
|
|
|
|
doCheck = true;
|
|
|
|
packageRequires = [ self.emacs ];
|
|
|
|
nativeBuildInputs = [ external.cmake external.llvmPackages.llvm external.llvmPackages.clang ];
|
|
|
|
});
|
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# tries to write a log file to $HOME
|
|
|
|
insert-shebang = super.insert-shebang.overrideAttrs (attrs: {
|
|
|
|
HOME = "/tmp";
|
|
|
|
});
|
2017-12-18 19:44:36 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
ivy-rtags = markBroken super.ivy-rtags;
|
2018-07-26 22:34:39 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
jsfmt = markBroken super.jsfmt;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
maxframe = markBroken super.maxframe;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
magit = super.magit.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
2018-08-02 07:46:43 +02:00
|
|
|
|
2019-08-09 06:51:34 +02:00
|
|
|
magit-annex = super.magit-annex.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
magit-todos = super.magit-todos.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
2017-12-18 19:44:36 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
magit-filenotify = super.magit-filenotify.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-09 06:52:15 +02:00
|
|
|
magit-gitflow = super.magit-gitflow.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2019-08-09 06:52:38 +02:00
|
|
|
magithub = super.magithub.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2019-08-09 06:53:05 +02:00
|
|
|
magit-svn = super.magit-svn.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2019-08-06 12:23:53 +02:00
|
|
|
kubernetes = super.kubernetes.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2016-01-15 22:01:09 +01:00
|
|
|
# upstream issue: missing file header
|
2019-08-03 21:48:11 +02:00
|
|
|
mhc = super.mhc.override {
|
|
|
|
inherit (self.melpaPackages) calfw;
|
|
|
|
};
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# missing .NET
|
|
|
|
nemerle = markBroken super.nemerle;
|
|
|
|
|
|
|
|
# part of a larger package
|
|
|
|
notmuch = dontConfigure super.notmuch;
|
|
|
|
|
|
|
|
# missing OCaml
|
|
|
|
ocp-indent = markBroken super.ocp-indent;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
qiita = markBroken super.qiita;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
speech-tagger = markBroken super.speech-tagger;
|
|
|
|
|
2019-08-04 03:26:52 +02:00
|
|
|
shm = super.shm.overrideAttrs (attrs: {
|
|
|
|
propagatedUserEnvPkgs = [ external.structured-haskell-mode ];
|
|
|
|
});
|
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
tawny-mode = markBroken super.tawny-mode;
|
|
|
|
|
2019-08-13 11:43:22 +02:00
|
|
|
# Telega has a server portion for it's network protocol
|
|
|
|
telega = super.telega.overrideAttrs(old: {
|
|
|
|
|
|
|
|
buildInputs = old.buildInputs ++ [ pkgs.tdlib ];
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
cd source/server
|
|
|
|
make
|
|
|
|
cd -
|
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
install -m755 -Dt $out/bin ./source/server/telega-server
|
|
|
|
'';
|
|
|
|
|
|
|
|
});
|
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
textmate = markBroken super.textmate;
|
|
|
|
|
|
|
|
# missing OCaml
|
|
|
|
utop = markBroken super.utop;
|
|
|
|
|
|
|
|
vdiff-magit = super.vdiff-magit.overrideAttrs (attrs: {
|
2018-07-16 12:34:03 +02:00
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
2017-12-30 00:28:25 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
voca-builder = markBroken super.voca-builder;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
window-numbering = markBroken super.window-numbering;
|
|
|
|
|
2019-08-04 20:08:35 +02:00
|
|
|
zmq = super.zmq.overrideAttrs(old: {
|
|
|
|
stripDebugList = [ "share" ];
|
|
|
|
preBuild = ''
|
|
|
|
make
|
|
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
|
|
external.autoconf external.automake external.pkgconfig external.libtool
|
|
|
|
(external.zeromq.override { enableDrafts = true; })
|
|
|
|
];
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# Map legacy renames from emacs2nix since code generation was ported to emacs lisp
|
|
|
|
_0blayout = super."0blayout";
|
|
|
|
_0xc = super."0xc";
|
|
|
|
_2048-game = super."2048-game";
|
|
|
|
_4clojure = super."4clojure";
|
|
|
|
at = super."@";
|
|
|
|
desktop-plus = super."desktop+";
|
|
|
|
ghub-plus = super."ghub+";
|
|
|
|
git-gutter-plus = super."git-gutter+";
|
|
|
|
git-gutter-fringe-plus = super."git-gutter-fringe+";
|
|
|
|
ido-completing-read-plus = super."ido-completing-read+";
|
|
|
|
image-plus = super."image+";
|
|
|
|
image-dired-plus = super."image-dired+";
|
|
|
|
markdown-mode-plus = super."markdown-mode+";
|
|
|
|
package-plus = super."package+";
|
|
|
|
rect-plus = super."rect+";
|
|
|
|
term-plus = super."term+";
|
|
|
|
term-plus-key-intercept = super."term+key-intercept";
|
|
|
|
term-plus-mux = super."term+mux";
|
|
|
|
xml-plus = super."xml+";
|
|
|
|
};
|
2018-08-06 11:09:26 +02:00
|
|
|
|
2019-08-09 06:53:30 +02:00
|
|
|
stable = shared // {
|
2019-08-03 21:48:11 +02:00
|
|
|
# part of a larger package
|
|
|
|
# upstream issue: missing package version
|
|
|
|
cmake-mode = markBroken (dontConfigure super.cmake-mode);
|
2018-08-02 07:47:12 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
connection = markBroken super.connection;
|
2018-10-01 05:37:47 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
dictionary = markBroken super.dictionary;
|
2018-10-01 05:37:47 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# missing git
|
|
|
|
egg = markBroken super.egg;
|
2018-09-03 23:42:57 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing dependency redshank
|
|
|
|
emr = markBroken super.emr;
|
2018-10-16 16:39:49 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: doesn't build
|
|
|
|
eterm-256color = markBroken super.eterm-256color;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing dependency highlight
|
|
|
|
evil-search-highlight-persist = markBroken super.evil-search-highlight-persist;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing dependency highlight
|
|
|
|
floobits = markBroken super.floobits;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# missing OCaml
|
|
|
|
flycheck-ocaml = markBroken super.flycheck-ocaml;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing dependency
|
|
|
|
fold-dwim-org = markBroken super.fold-dwim-org;
|
2018-07-21 17:45:08 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# build timeout
|
|
|
|
graphene = markBroken super.graphene;
|
2018-08-02 10:04:57 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
helm-rtags = markBroken super.helm-rtags;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
link = markBroken super.link;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# missing OCaml
|
|
|
|
merlin = markBroken super.merlin;
|
2019-01-17 17:15:35 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: missing file header
|
|
|
|
po-mode = markBroken super.po-mode;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# upstream issue: truncated file
|
|
|
|
powershell = markBroken super.powershell;
|
2016-01-15 22:01:09 +01:00
|
|
|
};
|
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
unstable = shared // {
|
|
|
|
# upstream issue: mismatched filename
|
|
|
|
ack-menu = markBroken super.ack-menu;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
editorconfig = super.editorconfig.overrideAttrs (attrs: {
|
|
|
|
propagatedUserEnvPkgs = [ external.editorconfig-core-c ];
|
|
|
|
});
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
egg = super.egg.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
2017-12-18 19:45:27 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# missing dependencies
|
|
|
|
evil-search-highlight-persist = super.evil-search-highlight-persist.overrideAttrs (attrs: {
|
|
|
|
packageRequires = with self; [ evil highlight ];
|
|
|
|
});
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
forge = super.forge.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
|
|
|
# upstream issue: mismatched filename
|
|
|
|
helm-lobsters = markBroken super.helm-lobsters;
|
2019-04-14 10:30:26 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
helm-rtags = markBroken super.helm-rtags;
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
orgit =
|
|
|
|
(super.orgit.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
}));
|
|
|
|
|
|
|
|
# tries to write to $HOME
|
|
|
|
php-auto-yasnippets = super.php-auto-yasnippets.overrideAttrs (attrs: {
|
|
|
|
HOME = "/tmp";
|
|
|
|
});
|
|
|
|
|
|
|
|
# upstream issue: mismatched filename
|
|
|
|
processing-snippets = markBroken super.processing-snippets;
|
|
|
|
|
|
|
|
racer = super.racer.overrideAttrs (attrs: {
|
|
|
|
postPatch = attrs.postPatch or "" + ''
|
|
|
|
substituteInPlace racer.el \
|
|
|
|
--replace /usr/local/src/rust/src ${external.rustPlatform.rustcSrc}
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
|
|
|
# upstream issue: missing file footer
|
|
|
|
seoul256-theme = markBroken super.seoul256-theme;
|
|
|
|
|
|
|
|
spaceline = super.spaceline.override {
|
|
|
|
inherit (self.melpaPackages) powerline;
|
|
|
|
};
|
2019-04-08 22:06:50 +02:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
treemacs-magit = super.treemacs-magit.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2019-08-13 12:20:23 +02:00
|
|
|
vterm = let
|
|
|
|
emacsSources = pkgs.stdenv.mkDerivation {
|
|
|
|
name = self.emacs.name + "-sources";
|
|
|
|
src = self.emacs.src;
|
|
|
|
|
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
|
|
|
doCheck = false;
|
|
|
|
fixupPhase = ":";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp -a * $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
libvterm = pkgs.libvterm-neovim.overrideAttrs(old: rec {
|
|
|
|
pname = "libvterm-neovim";
|
|
|
|
version = "2019-04-27";
|
|
|
|
name = pname + "-" + version;
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "neovim";
|
|
|
|
repo = "libvterm";
|
|
|
|
rev = "89675ffdda615ffc3f29d1c47a933f4f44183364";
|
|
|
|
sha256 = "0l9ixbj516vl41v78fi302ws655xawl7s94gmx1kb3fmfgamqisy";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
in pkgs.stdenv.mkDerivation rec {
|
|
|
|
inherit (super.vterm) name version src;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgs.cmake ];
|
|
|
|
buildInputs = [ self.emacs libvterm ];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DEMACS_SOURCE=${emacsSources}"
|
|
|
|
"-DUSE_SYSTEM_LIBVTERM=True"
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -d $out/share/emacs/site-lisp
|
|
|
|
install ../*.el $out/share/emacs/site-lisp
|
|
|
|
install ../*.so $out/share/emacs/site-lisp
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
# Legacy alias
|
|
|
|
emacs-libvterm = unstable.vterm;
|
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
w3m = super.w3m.override (args: {
|
|
|
|
melpaBuild = drv: args.melpaBuild (drv // {
|
|
|
|
prePatch =
|
|
|
|
let w3m = "${lib.getBin external.w3m}/bin/w3m"; in ''
|
|
|
|
substituteInPlace w3m.el \
|
|
|
|
--replace 'defcustom w3m-command nil' \
|
|
|
|
'defcustom w3m-command "${w3m}"'
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|
2015-12-22 13:50:21 +01:00
|
|
|
};
|
2016-01-15 22:01:09 +01:00
|
|
|
|
2019-08-03 21:48:11 +02:00
|
|
|
in super // overrides."${variant}");
|
|
|
|
|
|
|
|
in generateMelpa { }
|