mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
emacs offlineimap mode added
This commit is contained in:
parent
508e8f5347
commit
f685b08d0d
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchgit, emacs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
rev = "646482203aacdf847d57d0a96263fddcfc33fb61";
|
||||
name = "emacs-offlineimap-${rev}";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "git://git.naquadah.org/offlineimap-el.git";
|
||||
sha256 = "0az4llfgva4wvpljyc5s2m7ggfnj06ssp32x8bncr5fzksha3r7b";
|
||||
};
|
||||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
installPhase = ''
|
||||
substituteInPlace offlineimap.el --replace "Machine.MachineUI" "machineui"
|
||||
emacs --batch -f batch-byte-compile offlineimap.el
|
||||
install -d $out/share/emacs/site-lisp
|
||||
install offlineimap.el offlineimap.elc $out/share/emacs/site-lisp
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "OfflineIMAP support for Emacs";
|
||||
homepage = "http://julien.danjou.info/projects/emacs-packages#offlineimap";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.garbas ];
|
||||
};
|
||||
}
|
@ -7705,6 +7705,8 @@ let
|
||||
|
||||
notmuch = lowPrio (callPackage ../applications/networking/mailreaders/notmuch { });
|
||||
|
||||
offlineimap = callPackage ../applications/editors/emacs-modes/offlineimap {};
|
||||
|
||||
# This is usually a newer version of Org-Mode than that found in GNU Emacs, so
|
||||
# we want it to have higher precedence.
|
||||
org = hiPrio (callPackage ../applications/editors/emacs-modes/org { texinfo = texinfo5; });
|
||||
|
Loading…
Reference in New Issue
Block a user