Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- org = mkDerivation rec {
- name = "emacs-org-${version}";
- version = "20180421";
- src = fetchgit {
- url = "https://code.orgmode.org/bzg/org-mode.git";
- rev = "02e290d1d497abf56427c9d7e92d639fa11e223a";
- sha256 = "1yz1w79bxf1c94p60ksxali2q2kz854gbzsvwqpax3vw8zz5kkx1";
- fetchSubmodules = true;
- leaveDotGit = true;
- deepClone = true;
- #date = "2018-04-21T15:22:53+02:00";
- };
- preBuild = ''
- makeFlagsArray=(
- prefix="$out/share"
- lispdir="$out/share/emacs/site-lisp"
- ORG_ADD_CONTRIB="org* ox*"
- );
- '';
- preInstall = ''
- perl -i -pe "s%/usr/share%$out%;" local.mk
- '';
- buildInputs = [ emacs ] ++ (with pkgs; [ texinfo perl which git ]);
- meta = {
- homepage = "https://elpa.gnu.org/packages/org.html";
- license = lib.licenses.free;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement