mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
add emacs-metaweblog
This commit is contained in:
parent
c585786c1f
commit
ab8337e4fc
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;
|
||||
};
|
||||
}
|
|
@ -8353,6 +8353,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 {};
|
||||
|
|
Loading…
Reference in a new issue