2015-12-17 13:14:10 +00:00
|
|
|
/*
|
|
|
|
|
|
|
|
# Updating
|
|
|
|
|
|
|
|
To update the list of packages from MELPA,
|
|
|
|
|
2019-04-08 21:06:50 +01: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 13:14:10 +00:00
|
|
|
|
|
|
|
*/
|
|
|
|
|
2017-02-10 18:51:22 +00:00
|
|
|
{ lib, external }:
|
2015-12-15 01:48:13 +00:00
|
|
|
|
2015-12-15 17:57:51 +00:00
|
|
|
self:
|
2015-12-15 01:48:13 +00:00
|
|
|
|
2015-12-15 17:57:51 +00:00
|
|
|
let
|
2019-04-08 21:06:50 +01:00
|
|
|
inherit (import ./libgenerated.nix lib self) melpaDerivation;
|
|
|
|
imported = lib.listToAttrs (map (melpaDerivation "unstable")
|
|
|
|
(lib.importJSON ./recipes-archive-melpa.json));
|
2016-01-15 21:01:09 +00:00
|
|
|
super = builtins.removeAttrs imported [
|
|
|
|
"swbuff-x" # required dependency swbuff is missing
|
|
|
|
];
|
2015-12-15 17:57:51 +00:00
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
dontConfigure = pkg: pkg.override (args: {
|
|
|
|
melpaBuild = drv: args.melpaBuild (drv // {
|
|
|
|
configureScript = "true";
|
2015-12-15 17:57:51 +00:00
|
|
|
});
|
2016-01-15 21:01:09 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
markBroken = pkg: pkg.override (args: {
|
|
|
|
melpaBuild = drv: args.melpaBuild (drv // {
|
|
|
|
meta = (drv.meta or {}) // { broken = true; };
|
|
|
|
});
|
|
|
|
});
|
2015-12-22 12:50:21 +00:00
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
overrides = {
|
2017-12-18 18:44:36 +00:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
ac-rtags = markBroken super.ac-rtags;
|
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
# upstream issue: mismatched filename
|
2015-12-22 12:50:21 +00:00
|
|
|
ack-menu = markBroken super.ack-menu;
|
2016-01-15 21:01:09 +00:00
|
|
|
|
|
|
|
airline-themes = super.airline-themes.override {
|
|
|
|
inherit (self.melpaPackages) powerline;
|
|
|
|
};
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
bufshow = markBroken super.bufshow;
|
|
|
|
|
2017-12-11 08:52:48 +00:00
|
|
|
# part of a larger package
|
|
|
|
caml = dontConfigure super.caml;
|
|
|
|
|
2017-12-18 18:44:36 +00:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
company-rtags = markBroken super.company-rtags;
|
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
easy-kill-extras = super.easy-kill-extras.override {
|
|
|
|
inherit (self.melpaPackages) easy-kill;
|
|
|
|
};
|
|
|
|
|
2018-09-11 15:48:33 +01:00
|
|
|
editorconfig = super.editorconfig.overrideAttrs (attrs: {
|
|
|
|
propagatedUserEnvPkgs = [ external.editorconfig-core-c ];
|
|
|
|
});
|
|
|
|
|
2018-10-01 10:01:24 +01:00
|
|
|
egg = super.egg.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
2016-01-15 21:01:09 +00:00
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
elmine = markBroken super.elmine;
|
|
|
|
|
|
|
|
ess-R-data-view = super.ess-R-data-view.override {
|
|
|
|
inherit (self.melpaPackages) ess ctable popup;
|
|
|
|
};
|
|
|
|
|
2018-08-02 06:46:07 +01:00
|
|
|
evil-magit = super.evil-magit.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2018-08-02 06:46:21 +01:00
|
|
|
# missing dependencies
|
|
|
|
evil-search-highlight-persist = super.evil-search-highlight-persist.overrideAttrs (attrs: {
|
|
|
|
packageRequires = with self; [ evil highlight ];
|
|
|
|
});
|
|
|
|
|
2017-12-18 18:44:36 +00:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
flycheck-rtags = markBroken super.flycheck-rtags;
|
|
|
|
|
2019-01-10 16:16:04 +00:00
|
|
|
forge = super.forge.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2016-01-22 21:13:41 +00:00
|
|
|
# build timeout
|
|
|
|
graphene = markBroken super.graphene;
|
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
# upstream issue: mismatched filename
|
|
|
|
helm-lobsters = markBroken super.helm-lobsters;
|
|
|
|
|
2017-12-18 18:44:36 +00:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
helm-rtags = markBroken super.helm-rtags;
|
|
|
|
|
2018-07-26 21:34:39 +01: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 ];
|
|
|
|
});
|
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
# upstream issue: missing file header
|
|
|
|
ido-complete-space-or-hyphen = markBroken super.ido-complete-space-or-hyphen;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
2018-03-31 00:37:00 +01:00
|
|
|
initsplit = super.initsplit;
|
2016-01-15 21:01:09 +00:00
|
|
|
|
2018-08-02 06:46:43 +01:00
|
|
|
# tries to write a log file to $HOME
|
|
|
|
insert-shebang = super.insert-shebang.overrideAttrs (attrs: {
|
|
|
|
HOME = "/tmp";
|
|
|
|
});
|
|
|
|
|
2017-12-18 18:44:36 +00:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
ivy-rtags = markBroken super.ivy-rtags;
|
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
# upstream issue: missing file header
|
|
|
|
jsfmt = markBroken super.jsfmt;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
maxframe = markBroken super.maxframe;
|
|
|
|
|
2018-07-16 11:34:03 +01:00
|
|
|
magit =
|
2019-04-08 09:11:36 +01:00
|
|
|
super.magit.overrideAttrs (attrs: {
|
2018-07-16 11:34:03 +01:00
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
2017-12-29 23:28:25 +00:00
|
|
|
|
2018-08-06 10:09:26 +01:00
|
|
|
magit-annex = super.magit-annex.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2018-08-02 06:47:12 +01:00
|
|
|
magit-gitflow = super.magit-gitflow.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2018-10-01 04:37:47 +01:00
|
|
|
magithub = super.magithub.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
|
|
|
magit-svn = super.magit-svn.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2018-09-03 22:42:57 +01:00
|
|
|
magit-todos = super.magit-todos.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2018-10-16 15:39:49 +01:00
|
|
|
magit-filenotify = super.magit-filenotify.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
mhc = super.mhc.override {
|
|
|
|
inherit (self.melpaPackages) calfw;
|
|
|
|
};
|
|
|
|
|
|
|
|
# missing .NET
|
|
|
|
nemerle = markBroken super.nemerle;
|
|
|
|
|
|
|
|
# part of a larger package
|
|
|
|
notmuch = dontConfigure super.notmuch;
|
|
|
|
|
|
|
|
# missing OCaml
|
|
|
|
ocp-indent = markBroken super.ocp-indent;
|
|
|
|
|
2018-07-21 16:45:08 +01:00
|
|
|
orgit =
|
|
|
|
(super.orgit.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
}));
|
|
|
|
|
2018-08-02 09:04:57 +01:00
|
|
|
# tries to write to $HOME
|
|
|
|
php-auto-yasnippets = super.php-auto-yasnippets.overrideAttrs (attrs: {
|
|
|
|
HOME = "/tmp";
|
|
|
|
});
|
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
# upstream issue: mismatched filename
|
|
|
|
processing-snippets = markBroken super.processing-snippets;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
qiita = markBroken super.qiita;
|
|
|
|
|
2019-01-17 16:15:35 +00:00
|
|
|
racer = super.racer.overrideAttrs (attrs: {
|
|
|
|
postPatch = attrs.postPatch or "" + ''
|
|
|
|
substituteInPlace racer.el \
|
|
|
|
--replace /usr/local/src/rust/src ${external.rustPlatform.rustcSrc}
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
# upstream issue: missing file footer
|
|
|
|
seoul256-theme = markBroken super.seoul256-theme;
|
|
|
|
|
|
|
|
spaceline = super.spaceline.override {
|
|
|
|
inherit (self.melpaPackages) powerline;
|
|
|
|
};
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
speech-tagger = markBroken super.speech-tagger;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
stgit = markBroken super.stgit;
|
|
|
|
|
2017-12-18 18:45:27 +00:00
|
|
|
# upstream issue: missing file header
|
|
|
|
tawny-mode = markBroken super.tawny-mode;
|
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
# upstream issue: missing file header
|
|
|
|
textmate = markBroken super.textmate;
|
|
|
|
|
2019-04-14 09:30:26 +01:00
|
|
|
treemacs-magit = super.treemacs-magit.overrideAttrs (attrs: {
|
|
|
|
# searches for Git at build time
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
});
|
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
# missing OCaml
|
|
|
|
utop = markBroken super.utop;
|
|
|
|
|
2018-08-21 02:23:54 +01:00
|
|
|
vdiff-magit =
|
|
|
|
(super.vdiff-magit.overrideAttrs (attrs: {
|
|
|
|
nativeBuildInputs =
|
|
|
|
(attrs.nativeBuildInputs or []) ++ [ external.git ];
|
|
|
|
}));
|
|
|
|
|
2016-01-15 21:01:09 +00:00
|
|
|
# upstream issue: missing file header
|
|
|
|
voca-builder = markBroken super.voca-builder;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
window-numbering = markBroken super.window-numbering;
|
|
|
|
|
2017-02-10 18:51:22 +00: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}"'
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
});
|
2019-04-08 21:06:50 +01: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+";
|
|
|
|
# filesets-plus = super."filesets+";
|
|
|
|
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+";
|
|
|
|
|
2015-12-22 12:50:21 +00:00
|
|
|
};
|
2016-01-15 21:01:09 +00:00
|
|
|
|
2018-07-23 12:29:28 +01:00
|
|
|
melpaPackages =
|
|
|
|
removeAttrs (super // overrides)
|
|
|
|
[
|
|
|
|
"show-marks" # missing dependency: fm
|
2019-06-06 22:20:06 +01:00
|
|
|
"lenlen-theme" # missing dependency: color-theme-solarized
|
2018-07-23 12:29:28 +01:00
|
|
|
];
|
2015-12-15 17:57:51 +00:00
|
|
|
in
|
2015-12-22 12:50:21 +00:00
|
|
|
melpaPackages // { inherit melpaPackages; }
|