mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
c53ed1038c
This package has never built: http://hydra.nixos.org/job/nixpkgs/trunk/emacsPackages.offlineimap.x86_64-linux/all
30 lines
876 B
Nix
30 lines
876 B
Nix
{ 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 ];
|
|
broken = true;
|
|
};
|
|
}
|