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

32 lines
870 B
Nix
Raw Normal View History

2016-01-09 22:08:17 +00:00
{ 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 ];
# Required until notmuch-addrlookup can be compiled against notmuch >= 0.25
patches = [ ./0001-notmuch-0.25-compatibility-fix.patch ];
2016-01-09 22:08:17 +00:00
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 garbas ];
2016-01-09 22:08:17 +00:00
platforms = platforms.linux;
license = licenses.mit;
};
}