Advertisement
Guest User

Org-mode head for emacsWithPackages

a guest
Apr 21st, 2018
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. org = mkDerivation rec {
  2. name = "emacs-org-${version}";
  3. version = "20180421";
  4. src = fetchgit {
  5. url = "https://code.orgmode.org/bzg/org-mode.git";
  6. rev = "02e290d1d497abf56427c9d7e92d639fa11e223a";
  7. sha256 = "1yz1w79bxf1c94p60ksxali2q2kz854gbzsvwqpax3vw8zz5kkx1";
  8. fetchSubmodules = true;
  9. leaveDotGit = true;
  10. deepClone = true;
  11. #date = "2018-04-21T15:22:53+02:00";
  12. };
  13.  
  14. preBuild = ''
  15. makeFlagsArray=(
  16. prefix="$out/share"
  17. lispdir="$out/share/emacs/site-lisp"
  18. ORG_ADD_CONTRIB="org* ox*"
  19. );
  20. '';
  21.  
  22. preInstall = ''
  23. perl -i -pe "s%/usr/share%$out%;" local.mk
  24. '';
  25.  
  26. buildInputs = [ emacs ] ++ (with pkgs; [ texinfo perl which git ]);
  27.  
  28. meta = {
  29. homepage = "https://elpa.gnu.org/packages/org.html";
  30. license = lib.licenses.free;
  31. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement