2016-01-09 23:08:17 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, glib, notmuch }:
|
|
|
|
|
2018-02-11 10:11:34 +01:00
|
|
|
let
|
|
|
|
version = "9";
|
|
|
|
in
|
2016-01-09 23:08:17 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "notmuch-addrlookup-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aperezdc";
|
|
|
|
repo = "notmuch-addrlookup-c";
|
|
|
|
rev ="v${version}";
|
2018-02-11 10:11:34 +01:00
|
|
|
sha256 = "1j3zdx161i1x4w0nic14ix5i8hd501rb31daf8api0k8855sx4rc";
|
2016-01-09 23:08:17 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib notmuch ];
|
2016-01-09 23:08:17 +01:00
|
|
|
|
2018-02-11 10:11:34 +01:00
|
|
|
installPhase = "install -D notmuch-addrlookup $out/bin/notmuch-addrlookup";
|
2016-01-09 23:08:17 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Address lookup tool for Notmuch in C";
|
|
|
|
homepage = https://github.com/aperezdc/notmuch-addrlookup-c;
|
2016-11-20 17:56:45 +01:00
|
|
|
maintainers = with maintainers; [ mog garbas ];
|
2018-02-11 10:11:34 +01:00
|
|
|
platforms = platforms.unix;
|
2016-01-09 23:08:17 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|