blob: 64ebb78a12d04ab227d9503bbee4a2783954c9cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ lib, stdenv, fetchFromGitHub, pkg-config, glib, notmuch }:
let
version = "9";
in
stdenv.mkDerivation {
pname = "notmuch-addrlookup";
inherit version;
src = fetchFromGitHub {
owner = "aperezdc";
repo = "notmuch-addrlookup-c";
rev ="v${version}";
sha256 = "1j3zdx161i1x4w0nic14ix5i8hd501rb31daf8api0k8855sx4rc";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib notmuch ];
installPhase = "install -D notmuch-addrlookup $out/bin/notmuch-addrlookup";
meta = with lib; {
description = "Address lookup tool for Notmuch in C";
homepage = "https://github.com/aperezdc/notmuch-addrlookup-c";
maintainers = with maintainers; [ mog ];
platforms = platforms.unix;
license = licenses.mit;
};
}
|