diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-06-15 18:37:42 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-06-15 18:37:42 +0000 |
commit | f82d27593c58b56ce8dd2d34085171eb281e3b8a (patch) | |
tree | f0f252114ee594db1df7a3936eb1d9a8ddca16b2 /pkgs/tools/networking | |
parent | 4855ff6979c73232fe603920268005962b6d506c (diff) | |
download | nixpkgs-f82d27593c58b56ce8dd2d34085171eb281e3b8a.tar nixpkgs-f82d27593c58b56ce8dd2d34085171eb281e3b8a.tar.gz nixpkgs-f82d27593c58b56ce8dd2d34085171eb281e3b8a.tar.bz2 nixpkgs-f82d27593c58b56ce8dd2d34085171eb281e3b8a.tar.lz nixpkgs-f82d27593c58b56ce8dd2d34085171eb281e3b8a.tar.xz nixpkgs-f82d27593c58b56ce8dd2d34085171eb281e3b8a.tar.zst nixpkgs-f82d27593c58b56ce8dd2d34085171eb281e3b8a.zip |
Adding imapsync, with the two needed perl packages.
svn path=/nixpkgs/trunk/; revision=15967
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/imapsync/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/networking/imapsync/default.nix b/pkgs/tools/networking/imapsync/default.nix new file mode 100644 index 00000000000..c2c1320988a --- /dev/null +++ b/pkgs/tools/networking/imapsync/default.nix @@ -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+"; + }; +} |