My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/applications/networking/mailreaders/notmuch/mutt.nix

46 lines
925 B

{ stdenv, lib, perl, perlPackages, makeWrapper, coreutils, notmuch }:
stdenv.mkDerivation rec {
pname = "notmuch-mutt";
version = notmuch.version;
outputs = [ "out" ];
dontStrip = true;
buildInputs = [
perl
makeWrapper
] ++ (with perlPackages; [
FileRemove
DigestSHA1
Later
MailBox
MailMaildir
MailTools
StringShellQuote
TermReadLineGnu
]);
src = notmuch.src;
dontConfigure = true;
dontBuild = true;
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";
homepage = "https://notmuchmail.org/";
license = with licenses; gpl3;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.unix;
};
}