1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/networking/mailreaders/notmuch-addrlookup/default.nix

30 lines
756 B
Nix
Raw Normal View History

2016-01-09 22:08:17 +00:00
{ stdenv, fetchFromGitHub, pkgconfig, glib, notmuch }:
let
version = "9";
in
2016-01-09 22:08:17 +00:00
stdenv.mkDerivation rec {
2019-08-13 22:52:01 +01:00
pname = "notmuch-addrlookup";
inherit version;
2016-01-09 22:08:17 +00:00
src = fetchFromGitHub {
owner = "aperezdc";
repo = "notmuch-addrlookup-c";
rev ="v${version}";
sha256 = "1j3zdx161i1x4w0nic14ix5i8hd501rb31daf8api0k8855sx4rc";
2016-01-09 22:08:17 +00:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib notmuch ];
2016-01-09 22:08:17 +00:00
installPhase = "install -D notmuch-addrlookup $out/bin/notmuch-addrlookup";
2016-01-09 22:08:17 +00:00
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.unix;
2016-01-09 22:08:17 +00:00
license = licenses.mit;
};
}