Fix (org +present) by downloading reveal.js

See the following commit in doom-emacs:
> commit 723583e8d737fac93a05fe9dc06a233f3efdc305
> Author: Diego Zamboni <diego@zzamboni.org>
> Date:   Thu Aug 27 07:15:14 2020 +0200
>
>     Automatically download reveal.js and use local copy, default to v4 (#3846)
>
>     * Automatically download reveal.js upgrade to v4
>
>     The +present option now automatically checks out the reveal.js
>     repository and configures org-re-reveal to use it. It also now uses
>     reveal.js 4 instead of 3.9.2.
>
>     * Changed :init to :config
This commit is contained in:
László Vaskó
2020-08-30 19:10:08 +02:00
parent 314de52ee4
commit f1aa5a9ca7
2 changed files with 24 additions and 0 deletions

View File

@ -167,6 +167,18 @@
"url": "https://github.com/arnested/php-extras/archive/d410c5af663c30c01d461ac476d1cbfbacb49367.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"reveal.js": {
"branch": "master",
"description": "The HTML Presentation Framework",
"homepage": "https://revealjs.com",
"owner": "hakimel",
"repo": "reveal.js",
"rev": "15815efe05ca69c35ce66cfdbf93316e1db66ecb",
"sha256": "1g3h710rhpyq4vnh6rgyay2dyjpw4rw99p062yhwhgrjkgjyzrc2",
"type": "tarball",
"url": "https://github.com/hakimel/reveal.js/archive/15815efe05ca69c35ce66cfdbf93316e1db66ecb.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"rotate-text.el": {
"branch": "master",
"description": "Emacs: cycle through words, symbols and patterns",

View File

@ -71,6 +71,18 @@ self: super: {
pname = "php-extras";
};
revealjs = self.straightBuild {
pname = "reveal.js";
ename = "revealjs";
installPhase = ''
LISPDIR=$out/share/emacs/site-lisp
install -d $LISPDIR
cp -r * $LISPDIR
'';
};
rotate-text = self.straightBuild {
pname = "rotate-text.el";
ename = "rotate-text";