Adding imapsync, with the two needed perl packages.
svn path=/nixpkgs/trunk/; revision=15967
This commit is contained in:
parent
4855ff6979
commit
f82d27593c
24
pkgs/tools/networking/imapsync/default.nix
Normal file
24
pkgs/tools/networking/imapsync/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{stdenv, fetchurl, perl, openssl, MailIMAPClient}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "imapsync-1.267";
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://www.linux-france.org/prj/imapsync/dist/imapsync-1.267.tgz;
|
||||||
|
sha256 = "0h9np2b4bdfnhn10cqkw66fki26480w0c8m3bxw0p76xkaggywdy";
|
||||||
|
};
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i -e s@/usr@$out@ Makefile
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
# Add Mail::IMAPClient to the runtime search path.
|
||||||
|
substituteInPlace $out/bin/imapsync --replace '/bin/perl' '/bin/perl -I${MailIMAPClient}/lib/perl5/site_perl';
|
||||||
|
'';
|
||||||
|
buildInputs = [perl openssl MailIMAPClient];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "http://www.linux-france.org/prj/imapsync/";
|
||||||
|
description = "Mail folder synchronizer between IMAP servers";
|
||||||
|
license = "GPLv2+";
|
||||||
|
};
|
||||||
|
}
|
@ -859,8 +859,9 @@ let
|
|||||||
inherit fetchurl stdenv bison flex;
|
inherit fetchurl stdenv bison flex;
|
||||||
};
|
};
|
||||||
|
|
||||||
idutils = import ../tools/misc/idutils {
|
imapsync = import ../tools/networking/imapsync {
|
||||||
inherit fetchurl stdenv emacs;
|
inherit fetchurl stdenv perl openssl;
|
||||||
|
inherit (perlPackages) MailIMAPClient;
|
||||||
};
|
};
|
||||||
|
|
||||||
inetutils = import ../tools/networking/inetutils {
|
inetutils = import ../tools/networking/inetutils {
|
||||||
|
@ -1256,6 +1256,15 @@ rec {
|
|||||||
propagatedBuildInputs = [URI HTMLParser HTMLTagset];
|
propagatedBuildInputs = [URI HTMLParser HTMLTagset];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
MailIMAPClient = buildPerlPackage {
|
||||||
|
name = "Mail-IMAPClient-2.2.9";
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://cpan/authors/id/D/DJ/DJKERNEN/Mail-IMAPClient-2.2.9.tar.gz;
|
||||||
|
sha256 = "1jb04mn66d6022xjqmax49cdn55f2fdzp6knfnchmrcmf90a8rzs";
|
||||||
|
};
|
||||||
|
buildInputs = [ParseRecDescent];
|
||||||
|
};
|
||||||
|
|
||||||
MailTools = buildPerlPackage {
|
MailTools = buildPerlPackage {
|
||||||
name = "MailTools-2.04";
|
name = "MailTools-2.04";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -1396,6 +1405,14 @@ rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ParseRecDescent = buildPerlPackage {
|
||||||
|
name = "ParseRecDescent-1.96.0";
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://cpan/authors/id/D/DC/DCONWAY/Parse-RecDescent-1.96.0.tar.gz;
|
||||||
|
sha256 = "1hnsnpzdwcwpbnsspaz55gx7x7h1rpxdk7k1ninnqk1jximl3y9n";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
PathClass = buildPerlPackage {
|
PathClass = buildPerlPackage {
|
||||||
name = "Path-Class-0.16";
|
name = "Path-Class-0.16";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user