diff --git a/nix/sources.json b/nix/sources.json index 472081c..e2c7835 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -167,6 +167,18 @@ "url": "https://github.com/arnested/php-extras/archive/d410c5af663c30c01d461ac476d1cbfbacb49367.tar.gz", "url_template": "https://github.com///archive/.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///archive/.tar.gz" + }, "rotate-text.el": { "branch": "master", "description": "Emacs: cycle through words, symbols and patterns", diff --git a/overrides.nix b/overrides.nix index ccae250..e59f414 100644 --- a/overrides.nix +++ b/overrides.nix @@ -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";