From 45fed14272a77311b7ee7ab89d52629bfa084765 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 20 Feb 2012 18:59:43 +0000 Subject: [PATCH] * Revert r32435. We'll be doing a stdenv merge in a few days, so let's put it in there rather than having the Nth near-complete rebuild of the trunk in a few days. svn path=/nixpkgs/trunk/; revision=32436 --- .../version-management/git-and-tools/svn2git/default.nix | 6 +++--- pkgs/applications/version-management/mercurial/default.nix | 6 +++--- pkgs/development/interpreters/python/2.7/default.nix | 7 ++++++- pkgs/tools/networking/offlineimap/default.nix | 4 +++- pkgs/top-level/all-packages.nix | 6 ++++-- 5 files changed, 19 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/version-management/git-and-tools/svn2git/default.nix b/pkgs/applications/version-management/git-and-tools/svn2git/default.nix index 534a00a357be..6f5d36f6aa74 100644 --- a/pkgs/applications/version-management/git-and-tools/svn2git/default.nix +++ b/pkgs/applications/version-management/git-and-tools/svn2git/default.nix @@ -1,12 +1,12 @@ { stdenv, fetchgit, ruby, makeWrapper, git }: stdenv.mkDerivation rec { - name = "svn2git-2.2.0"; + name = "svn2git-2.1.0-20111206"; src = fetchgit { url = https://github.com/nirvdrum/svn2git; - rev = "db0769835e9d1d3ff324091a3bb7756200a09932"; - sha256 = "6d2f2acb9900e2aa8e608d3239b42f890f2334b622adb5ea33b2b4815a52efa2"; + rev = "5cd8d4b509affb66eb2dad50d7298c52b3b0d848"; + sha256 = "26aa17f68f605e958b623d803b4bd405e12d6c5d51056635873a2c59e4c7b9ca"; }; buildInputs = [ ruby makeWrapper ]; diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix index 6118bee43908..976963e684bd 100644 --- a/pkgs/applications/version-management/mercurial/default.nix +++ b/pkgs/applications/version-management/mercurial/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, python, makeWrapper, docutils, unzip -, guiSupport ? false, tk ? null, curses }: +, guiSupport ? false, tk ? null, ssl, curses }: let name = "mercurial-2.0.2"; @@ -13,7 +13,7 @@ stdenv.mkDerivation { }; inherit python; # pass it so that the same version can be used in hg2git - pythonPackages = [ curses ]; + pythonPackages = [ ssl curses ]; buildInputs = [ python makeWrapper docutils unzip ]; @@ -35,7 +35,7 @@ stdenv.mkDerivation { '' for i in $(cd $out/bin && ls); do wrapProgram $out/bin/$i \ - --prefix PYTHONPATH : "$(toPythonPath "$out ${curses}")" \ + --prefix PYTHONPATH : "$(toPythonPath "$out ${ssl} ${curses}")" \ $WRAP_TK done diff --git a/pkgs/development/interpreters/python/2.7/default.nix b/pkgs/development/interpreters/python/2.7/default.nix index 635d50dc5b3e..1c8ae0cf171a 100644 --- a/pkgs/development/interpreters/python/2.7/default.nix +++ b/pkgs/development/interpreters/python/2.7/default.nix @@ -38,7 +38,7 @@ let buildInputs = optional (stdenv ? gcc && stdenv.gcc.libc != null) stdenv.gcc.libc ++ - [ bzip2 openssl ] + [ bzip2 ] ++ optional zlibSupport zlib ++ optionals stdenv.isDarwin [ darwinArchUtility darwinSwVersUtility ]; @@ -172,6 +172,11 @@ let deps = [ sqlite ]; }; + ssl = buildInternalPythonModule { + moduleName = "ssl"; + deps = [ openssl ]; + }; + tkinter = buildInternalPythonModule { moduleName = "tkinter"; deps = [ tcl tk x11 ]; diff --git a/pkgs/tools/networking/offlineimap/default.nix b/pkgs/tools/networking/offlineimap/default.nix index 007c8f7c6e07..8f0dd8e9a6cb 100644 --- a/pkgs/tools/networking/offlineimap/default.nix +++ b/pkgs/tools/networking/offlineimap/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, buildPythonPackage }: +{ fetchurl, buildPythonPackage, ssl }: buildPythonPackage { name = "offlineimap-6.2.0.2"; @@ -8,6 +8,8 @@ buildPythonPackage { sha256 = "1w69qv1dm37m53k8cd068lk5z3qjlscnjxr397gs8kdsfds67v7c"; }; + propagatedBuildInputs = [ ssl ]; + doCheck = false; meta = { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 310061a4049c..46ed9f5f5988 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1110,7 +1110,9 @@ let odt2txt = callPackage ../tools/text/odt2txt { }; - offlineimap = callPackage ../tools/networking/offlineimap { }; + offlineimap = callPackage ../tools/networking/offlineimap { + ssl = pythonPackages.ssl; + }; opendbx = callPackage ../development/libraries/opendbx { }; @@ -7183,7 +7185,7 @@ let }; mercurial = callPackage ../applications/version-management/mercurial { - inherit (pythonPackages) curses; + inherit (pythonPackages) ssl curses; guiSupport = false; # use mercurialFull to get hgk GUI };