nixpkgs/pkgs/applications/networking/mailreaders/notmuch-addrlookup/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
754 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, glib, notmuch }:
2016-01-09 22:08:17 +00:00
let
2022-10-15 12:40:50 +00:00
version = "10";
in
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
2019-08-13 21:52:01 +00: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}";
2022-10-15 12:40:50 +00:00
sha256 = "sha256-Z59MAptJw95azdK0auOuUyxBrX4PtXwnRNPkhjgI6Ro=";
2016-01-09 22:08:17 +00:00
};
nativeBuildInputs = [ pkg-config ];
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 lib; {
2016-01-09 22:08:17 +00:00
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;
};
}