2016-08-02 11:45:42 +02:00
|
|
|
{ stdenv, lib, perl, perlPackages, makeWrapper, coreutils, notmuch }:
|
2016-08-02 08:59:41 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "notmuch-mutt";
|
2016-08-02 08:59:41 +02:00
|
|
|
version = notmuch.version;
|
|
|
|
|
|
|
|
outputs = [ "out" ];
|
|
|
|
|
|
|
|
dontStrip = true;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
perl
|
|
|
|
makeWrapper
|
|
|
|
] ++ (with perlPackages; [
|
|
|
|
FileRemove
|
|
|
|
DigestSHA1
|
|
|
|
Later
|
|
|
|
MailBox
|
|
|
|
MailMaildir
|
|
|
|
MailTools
|
|
|
|
StringShellQuote
|
|
|
|
TermReadLineGnu
|
|
|
|
]);
|
|
|
|
|
|
|
|
src = notmuch.src;
|
|
|
|
|
2021-07-14 16:34:25 +02:00
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
2016-08-02 08:59:41 +02:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
${coreutils}/bin/install -Dm755 \
|
|
|
|
./contrib/notmuch-mutt/notmuch-mutt \
|
|
|
|
$out/bin/notmuch-mutt
|
|
|
|
|
|
|
|
wrapProgram $out/bin/notmuch-mutt \
|
|
|
|
--prefix PERL5LIB : $PERL5LIB
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Mutt support for notmuch";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://notmuchmail.org/";
|
2017-04-10 16:00:25 +02:00
|
|
|
license = with licenses; gpl3;
|
2016-08-02 08:59:41 +02:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|