notmuch-mutt: init at 0.22

This commit is contained in:
Peter Hoeg 2016-08-02 14:59:41 +08:00 committed by Benno Fünfstück
parent 3a185d159f
commit 8c04c3c899
4 changed files with 91 additions and 1 deletions

View file

@ -5,10 +5,12 @@
}:
stdenv.mkDerivation rec {
name = "notmuch-0.22";
version = "0.22";
name = "notmuch-${version}";
passthru = {
pythonSourceRoot = "${name}/bindings/python";
inherit version;
};
src = fetchurl {

View file

@ -0,0 +1,47 @@
{ stdenv, lib, fetchurl, perl, buildPerlPackage, perlPackages, makeWrapper, coreutils
, notmuch }:
stdenv.mkDerivation rec {
name = "notmuch-mutt-${version}";
version = notmuch.version;
outputs = [ "out" ];
dontStrip = true;
buildInputs = [
perl
makeWrapper
] ++ (with perlPackages; [
FileRemove
DigestSHA1
Later
MailBox
MailMaildir
MailTools
StringShellQuote
TermReadLineGnu
]);
src = notmuch.src;
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
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; {
inherit version;
description = "Mutt support for notmuch";
homepage = http://notmuchmua.org/;
license = with licenses; mit;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.unix;
};
}

View file

@ -14120,6 +14120,8 @@ in
sphinx = pythonPackages.sphinx;
};
notmuch-mutt = callPackage ../applications/networking/mailreaders/notmuch/mutt.nix { };
# Open Stack
nova = callPackage ../applications/virtualization/openstack/nova.nix { };
keystone = callPackage ../applications/virtualization/openstack/keystone.nix { };

View file

@ -6956,6 +6956,15 @@ let self = _self // overrides; _self = with self; {
};
};
Later = buildPerlPackage rec {
version = "0.19";
name = "Object-Realize-Later-${version}";
src = fetchurl {
url = "mirror://cpan/authors/id/M/MA/MARKOV/${name}.tar.gz";
sha256 = "0ka0qar51kk5wlvd2s3yis3w9qc14h0ngn0ds0v6c8ssmjvfcgbz";
};
};
lib_ = buildPerlPackage {
name = "lib-0.63";
src = fetchurl {
@ -7601,6 +7610,36 @@ let self = _self // overrides; _self = with self; {
inherit fetchurl buildPerlPackage stdenv DBDmysql;
};
MailMaildir = buildPerlPackage rec {
version = "1.0.0";
name = "Mail-Maildir-${version}";
src = fetchurl {
url = "mirror://cpan/authors/id/Z/ZE/ZEROALTI/Mail-Maildir-100/${name}.tar.bz2";
sha256 = "1krkqfps6q3ifrhi9450l5gm9199qyfcm6vidllr0dv65kdaqpj4";
};
};
MailBox = buildPerlPackage rec {
version = "2.118";
name = "Mail-Box-${version}";
src = fetchurl {
url = "mirror://cpan/authors/id/M/MA/MARKOV/${name}.tar.gz";
sha256 = "1ixi7xpvj8kn2y0l8rxkvdnnl7x5wqg7mi2av0viwdh5l828dcfc";
};
doCheck = false;
propagatedBuildInputs = [
Later
DevelGlobalDestruction
FileRemove
IOStringy
MailTools
MIMETypes
];
};
MailMboxMessageParser = buildPerlPackage rec {
name = "Mail-Mbox-MessageParser-1.5105";
src = fetchurl {