nixpkgs/pkgs/applications/networking/mailreaders/notmuch-addrlookup/default.nix
Florian Klink b89aad4718 notmuch-addrlookup: 7 -> 9
This version bump contains the following fixes:

v8:
 - Avoid a segmentation fault when notmuch_message_get_header() returns NULL. (Patch by Víctor M. Jáquez <vjaquez@igalia.com>).

v9:
 - Do not use the deprecated notmuch_query_count_messages_st function when using Notmuch 0.25. (Patch by Adam Ruzicka <a.ruzicka@outlook.com>.)
   We already had this patch in our tree.
 - Fix crash in when running queries and the program is build with Notmuch 0.25. (Patch by Joshua Krusell <joshua.krusell@v-dem.net>).
 - Fix conditional compilation when using Notmuch 0.25. (Patch by David Bremner <bremner@debian.org>).
2018-02-11 20:59:43 +01:00

29 lines
754 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, glib, notmuch }:
let
version = "9";
in
stdenv.mkDerivation rec {
name = "notmuch-addrlookup-${version}";
src = fetchFromGitHub {
owner = "aperezdc";
repo = "notmuch-addrlookup-c";
rev ="v${version}";
sha256 = "1j3zdx161i1x4w0nic14ix5i8hd501rb31daf8api0k8855sx4rc";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib notmuch ];
installPhase = "install -D notmuch-addrlookup $out/bin/notmuch-addrlookup";
meta = with stdenv.lib; {
description = "Address lookup tool for Notmuch in C";
homepage = https://github.com/aperezdc/notmuch-addrlookup-c;
maintainers = with maintainers; [ mog garbas ];
platforms = platforms.unix;
license = licenses.mit;
};
}