1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

Merge pull request #2977 from bluescreen303/emacs-org2blog

Emacs org2blog - bring up to date - now works with org-8.* again
This commit is contained in:
Austin Seipp 2014-06-18 16:21:02 -05:00
commit 85c70f642f
3 changed files with 42 additions and 6 deletions

View file

@ -0,0 +1,31 @@
{ stdenv, fetchgit, emacs, xmlRpc }:
stdenv.mkDerivation rec {
name = "metaweblog-0.1";
src = fetchgit {
url = https://github.com/punchagan/metaweblog.git;
rev = "ceda65048afaa4c7596c7f50ced998c59ef41167";
sha256 = "a4c10bb1b4be574e560f87d5f07da4e24e5fffe9ecc83e6d4f9325f3a7eb1e2f";
};
buildInputs = [ emacs ];
propagatedUserEnvPkgs = [ xmlRpc ];
buildPhase = ''
emacs -L . -L ${xmlRpc}/share/emacs/site-lisp --batch -f batch-byte-compile *.el
'';
installPhase = ''
install -d $out/share/emacs/site-lisp
install *.el* $out/share/emacs/site-lisp
'';
meta = {
description = "an emacs library to access metaweblog based weblogs";
homepage = https://github.com/punchagan/metaweblog;
license = "GPLv3+";
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -1,19 +1,22 @@
{ stdenv, fetchgit, emacs, xmlRpc }:
{ stdenv, fetchgit, emacs, org, xmlRpc, metaweblog }:
stdenv.mkDerivation rec {
name = "org2blog-0.5";
name = "org2blog-0.8.1";
src = fetchgit {
url = https://github.com/punchagan/org2blog.git;
rev = "338abe30e9bc89684f8384f8deaf826b63844da6";
sha256 = "46ab31e90d0d54071c126b7d5599a3e82062baa79ddf26b988bcb88d306d6827";
rev = "5f573ff3e4007c16517a5fe28c4f5d8dde3f8a77";
sha256 = "e83c08ceece92bb507be70046db4a7fa87a4af34ad3f84a727e0bd6a1dd99a33";
};
buildInputs = [ emacs ];
propagatedUserEnvPkgs = [ xmlRpc ];
propagatedUserEnvPkgs = [ org xmlRpc metaweblog ];
buildPhase = ''
emacs -L . -L ${xmlRpc}/share/emacs/site-lisp --batch -f batch-byte-compile *.el
emacs -L . -L ${org}/share/emacs/site-lisp/org \
-L ${xmlRpc}/share/emacs/site-lisp \
-L ${metaweblog}/share/emacs/site-lisp \
--batch -f batch-byte-compile *.el
'';
installPhase = ''

View file

@ -8359,6 +8359,8 @@ let
maudeMode = callPackage ../applications/editors/emacs-modes/maude { };
metaweblog = callPackage ../applications/editors/emacs-modes/metaweblog { };
notmuch = lowPrio (callPackage ../applications/networking/mailreaders/notmuch { });
offlineimap = callPackage ../applications/editors/emacs-modes/offlineimap {};