mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Use generated org and org-plus-contrib packages.
This commit is contained in:
parent
525cf616f4
commit
a8b3cf4669
37
pkgs/applications/editors/emacs-modes/org-packages.nix
Normal file
37
pkgs/applications/editors/emacs-modes/org-packages.nix
Normal 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; }
|
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user