Merge pull request #12275 from mogorman/notmuch-addrlookup

notmuch-addrlookup: init at 7
This commit is contained in:
Oliver Charles 2016-01-12 15:39:29 +00:00
commit c311b228fc
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, pkgconfig, glib, notmuch }:
stdenv.mkDerivation rec {
name = "notmuch-addrlookup-${version}";
version = "7";
src = fetchFromGitHub {
owner = "aperezdc";
repo = "notmuch-addrlookup-c";
rev ="v${version}";
sha256 = "0mz0llf1ggl1k46brgrqj3i8qlg1ycmkc5a3a0kg8fg4s1c1m6xk";
};
buildInputs = [ pkgconfig glib notmuch ];
installPhase = ''
mkdir -p "$out/bin"
cp notmuch-addrlookup "$out/bin"
'';
meta = with stdenv.lib; {
description = "Address lookup tool for Notmuch in C";
homepage = https://github.com/aperezdc/notmuch-addrlookup-c;
maintainers = with maintainers; [ mog ];
platforms = platforms.linux;
license = licenses.mit;
};
}

View file

@ -11578,6 +11578,8 @@ let
notmuch = lowPrio (pkgs.notmuch.override { inherit emacs; });
notmuch-addrlookup = callPackage ../applications/networking/mailreaders/notmuch-addrlookup { };
ocamlMode = callPackage ../applications/editors/emacs-modes/ocaml { };
offlineimap = callPackage ../applications/editors/emacs-modes/offlineimap {};