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:
commit
85c70f642f
31
pkgs/applications/editors/emacs-modes/metaweblog/default.nix
Normal file
31
pkgs/applications/editors/emacs-modes/metaweblog/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -1,19 +1,22 @@
|
|||||||
{ stdenv, fetchgit, emacs, xmlRpc }:
|
{ stdenv, fetchgit, emacs, org, xmlRpc, metaweblog }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "org2blog-0.5";
|
name = "org2blog-0.8.1";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = https://github.com/punchagan/org2blog.git;
|
url = https://github.com/punchagan/org2blog.git;
|
||||||
rev = "338abe30e9bc89684f8384f8deaf826b63844da6";
|
rev = "5f573ff3e4007c16517a5fe28c4f5d8dde3f8a77";
|
||||||
sha256 = "46ab31e90d0d54071c126b7d5599a3e82062baa79ddf26b988bcb88d306d6827";
|
sha256 = "e83c08ceece92bb507be70046db4a7fa87a4af34ad3f84a727e0bd6a1dd99a33";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ emacs ];
|
buildInputs = [ emacs ];
|
||||||
propagatedUserEnvPkgs = [ xmlRpc ];
|
propagatedUserEnvPkgs = [ org xmlRpc metaweblog ];
|
||||||
|
|
||||||
buildPhase = ''
|
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 = ''
|
installPhase = ''
|
||||||
|
@ -8359,6 +8359,8 @@ let
|
|||||||
|
|
||||||
maudeMode = callPackage ../applications/editors/emacs-modes/maude { };
|
maudeMode = callPackage ../applications/editors/emacs-modes/maude { };
|
||||||
|
|
||||||
|
metaweblog = callPackage ../applications/editors/emacs-modes/metaweblog { };
|
||||||
|
|
||||||
notmuch = lowPrio (callPackage ../applications/networking/mailreaders/notmuch { });
|
notmuch = lowPrio (callPackage ../applications/networking/mailreaders/notmuch { });
|
||||||
|
|
||||||
offlineimap = callPackage ../applications/editors/emacs-modes/offlineimap {};
|
offlineimap = callPackage ../applications/editors/emacs-modes/offlineimap {};
|
||||||
|
Loading…
Reference in New Issue
Block a user