2015-12-17 13:15:49 +00:00
|
|
|
/*
|
|
|
|
|
|
|
|
# Updating
|
|
|
|
|
2016-04-26 20:05:00 +01:00
|
|
|
To update the list of packages from MELPA,
|
2015-12-17 13:15:49 +00:00
|
|
|
|
2016-04-26 20:05:00 +01:00
|
|
|
1. Clone https://github.com/ttuegel/emacs2nix.
|
|
|
|
2. Clone https://github.com/milkypostman/melpa.
|
|
|
|
3. Run `./melpa-stable-packages.sh --melpa PATH_TO_MELPA_CLONE` from emacs2nix.
|
|
|
|
4. Copy the new `melpa-stable-generated.nix` file into Nixpkgs.
|
|
|
|
5. Check for evaluation errors: `nix-instantiate ./. -A emacsPackagesNg.melpaStablePackages`.
|
|
|
|
6. `git add pkgs/applications/editors/emacs-modes/melpa-stable-generated.nix && git commit -m "melpa-stable-packages $(date -Idate)"`
|
2015-12-17 13:15:49 +00:00
|
|
|
|
|
|
|
*/
|
|
|
|
|
2018-07-21 01:44:44 +01:00
|
|
|
{ external }:
|
2015-12-15 01:46:21 +00:00
|
|
|
|
2015-12-15 17:57:51 +00:00
|
|
|
self:
|
2015-12-15 01:46:21 +00:00
|
|
|
|
2015-12-15 17:57:51 +00:00
|
|
|
let
|
2016-01-15 22:14:41 +00:00
|
|
|
imported = import ./melpa-stable-generated.nix { inherit (self) callPackage; };
|
|
|
|
|
|
|
|
super = imported;
|
2015-12-15 17:57:51 +00:00
|
|
|
|
2016-01-15 22:14:41 +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 22:14:41 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
markBroken = pkg: pkg.override (args: {
|
|
|
|
melpaBuild = drv: args.melpaBuild (drv // {
|
|
|
|
meta = (drv.meta or {}) // { broken = true; };
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
overrides = {
|
|
|
|
# upstream issue: mismatched filename
|
2015-12-22 12:50:21 +00:00
|
|
|
ack-menu = markBroken super.ack-menu;
|
2016-01-15 22:14:41 +00:00
|
|
|
|
2017-12-18 18:44:36 +00:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
ac-rtags = markBroken super.ac-rtags;
|
|
|
|
|
2016-01-15 22:14:41 +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;
|
|
|
|
|
2016-01-15 22:14:41 +00:00
|
|
|
# part of a larger package
|
|
|
|
# upstream issue: missing package version
|
|
|
|
cmake-mode = markBroken (dontConfigure super.cmake-mode);
|
|
|
|
|
2017-12-18 18:44:36 +00:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
company-rtags = markBroken super.company-rtags;
|
|
|
|
|
2016-01-15 22:14:41 +00:00
|
|
|
# upstream issue: missing file header
|
|
|
|
connection = markBroken super.connection;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
dictionary = markBroken super.dictionary;
|
|
|
|
|
|
|
|
easy-kill-extras = super.easy-kill-extras.override {
|
|
|
|
inherit (self.melpaPackages) easy-kill;
|
|
|
|
};
|
|
|
|
|
|
|
|
# missing git
|
|
|
|
egg = markBroken super.egg;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
elmine = markBroken super.elmine;
|
|
|
|
|
2017-11-29 22:48:15 +00:00
|
|
|
# upstream issue: missing dependency redshank
|
|
|
|
emr = markBroken super.emr;
|
|
|
|
|
2016-01-15 22:14:41 +00:00
|
|
|
ess-R-data-view = super.ess-R-data-view.override {
|
|
|
|
inherit (self.melpaPackages) ess ctable popup;
|
|
|
|
};
|
|
|
|
|
2017-12-18 18:45:27 +00:00
|
|
|
# upstream issue: doesn't build
|
2017-12-26 20:41:27 +00:00
|
|
|
eterm-256color = markBroken super.eterm-256color;
|
2017-12-18 18:45:27 +00:00
|
|
|
|
2017-11-29 22:48:15 +00:00
|
|
|
# upstream issue: missing dependency highlight
|
|
|
|
evil-search-highlight-persist = markBroken super.evil-search-highlight-persist;
|
|
|
|
|
|
|
|
# upstream issue: missing dependency highlight
|
|
|
|
floobits = markBroken super.floobits;
|
|
|
|
|
2016-01-15 22:14:41 +00:00
|
|
|
# missing OCaml
|
|
|
|
flycheck-ocaml = markBroken super.flycheck-ocaml;
|
|
|
|
|
2017-12-18 18:44:36 +00:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
flycheck-rtags = markBroken super.flycheck-rtags;
|
|
|
|
|
2018-04-17 12:08:00 +01:00
|
|
|
# upstream issue: missing dependency
|
|
|
|
fold-dwim-org = markBroken super.fold-dwim-org;
|
|
|
|
|
2016-01-22 21:14:05 +00:00
|
|
|
# build timeout
|
|
|
|
graphene = markBroken super.graphene;
|
|
|
|
|
2016-01-15 22:14:41 +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 22:14:41 +00:00
|
|
|
# upstream issue: missing file header
|
|
|
|
ido-complete-space-or-hyphen = markBroken super.ido-complete-space-or-hyphen;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
initsplit = markBroken super.initsplit;
|
|
|
|
|
2017-12-27 13:17:25 +00:00
|
|
|
# upstream issue: recipe fails
|
|
|
|
insert-shebang = markBroken super.insert-shebang;
|
|
|
|
|
2017-12-18 18:44:36 +00:00
|
|
|
# Expects bash to be at /bin/bash
|
|
|
|
ivy-rtags = markBroken super.ivy-rtags;
|
|
|
|
|
2016-01-15 22:14:41 +00:00
|
|
|
# upstream issue: missing file header
|
|
|
|
jsfmt = markBroken super.jsfmt;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
link = markBroken super.link;
|
|
|
|
|
|
|
|
# upstream issue: mismatched filename
|
|
|
|
link-hint = markBroken super.link-hint;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
maxframe = markBroken super.maxframe;
|
|
|
|
|
2018-07-16 11:34:03 +01:00
|
|
|
magit =
|
|
|
|
(super.magit.override {
|
|
|
|
# version of magit-popup needs to match magit
|
|
|
|
# https://github.com/magit/magit/issues/3286
|
|
|
|
inherit (self.melpaStablePackages) magit-popup;
|
|
|
|
}).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 ];
|
|
|
|
});
|
|
|
|
|
2016-01-15 22:14:41 +00:00
|
|
|
# missing OCaml
|
|
|
|
merlin = markBroken super.merlin;
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
2017-11-20 22:14:37 +00:00
|
|
|
# upstream issue: missing file header
|
|
|
|
po-mode = markBroken super.po-mode;
|
|
|
|
|
2016-01-15 22:14:41 +00:00
|
|
|
# upstream issue: truncated file
|
|
|
|
powershell = markBroken super.powershell;
|
|
|
|
|
|
|
|
# upstream issue: mismatched filename
|
|
|
|
processing-snippets = markBroken super.processing-snippets;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
qiita = markBroken super.qiita;
|
|
|
|
|
|
|
|
# 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 22:14:41 +00:00
|
|
|
# upstream issue: missing file header
|
|
|
|
textmate = markBroken super.textmate;
|
|
|
|
|
|
|
|
# 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 22:14:41 +00:00
|
|
|
# upstream issue: missing file header
|
|
|
|
voca-builder = markBroken super.voca-builder;
|
|
|
|
|
|
|
|
# upstream issue: missing file header
|
|
|
|
window-numbering = markBroken super.window-numbering;
|
2015-12-22 12:50:21 +00:00
|
|
|
};
|
2016-01-15 22:14:41 +00:00
|
|
|
|
|
|
|
melpaStablePackages = super // overrides;
|
2015-12-15 17:57:51 +00:00
|
|
|
in
|
2015-12-22 12:50:21 +00:00
|
|
|
melpaStablePackages // { inherit melpaStablePackages; }
|