Use generated org and org-plus-contrib packages.

This commit is contained in:
Michael Alan Dorman 2016-05-07 18:50:58 -04:00
parent 525cf616f4
commit a8b3cf4669
2 changed files with 42 additions and 13 deletions

View File

@ -0,0 +1,37 @@
/*
# Updating
To update the list of packages from ELPA,
1. Clone https://github.com/ttuegel/emacs2nix
2. Run `./org-packages.sh` from emacs2nix
3. Copy the new org-packages.json file into Nixpkgs
4. `git commit -m "org-packages $(date -Idate)"`
*/
{ fetchurl, lib, stdenv, texinfo }:
self:
let
imported = import ./org-generated.nix {
inherit (self) callPackage;
};
super = imported;
markBroken = pkg: pkg.override {
elpaBuild = args: self.elpaBuild (args // {
meta = (args.meta or {}) // { broken = true; };
});
};
overrides = {
};
orgPackages = super // overrides;
in orgPackages // { inherit orgPackages; }

View File

@ -59,6 +59,10 @@ let
inherit lib;
};
orgPackages = import ../applications/editors/emacs-modes/org-packages.nix {
inherit fetchurl lib stdenv texinfo;
};
emacsWithPackages = import ../build-support/emacs/wrapper.nix {
inherit lib lndir makeWrapper stdenv;
};
@ -1299,19 +1303,6 @@ let
};
};
org-plus-contrib = elpaBuild rec {
pname = "org-plus-contrib";
version = "20150406";
src = fetchurl {
url = "http://orgmode.org/elpa/${pname}-${version}.tar";
sha256 = "1ny2myg4rm75ab2gl5rqrwy7h53q0vv18df8gk3zv13kljj76c6i";
};
meta = {
description = "Notes, TODO lists, projects, and authoring in plain-text with Emacs";
license = gpl3Plus;
};
};
org-trello = melpaBuild rec {
pname = "org-trello";
version = "0.7.5";
@ -1843,5 +1834,6 @@ in
// melpaPackages self
// elpaPackages self
// melpaStablePackages self
// orgPackages self
// packagesFun self
)