OpenSSL support for Python

svn path=/nixpkgs/trunk/; revision=11894
This commit is contained in:
Michael Raskin 2008-05-26 12:27:17 +00:00
parent 9d3b0a2cb7
commit 99c9108757
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@
, sqlite ? null
, db4 ? null
, readline ? null
, openssl ? null
}:
assert zlibSupport -> zlib != null;
@ -20,6 +21,7 @@ let
++ optional (sqlite != null) sqlite
++ optional (db4 != null) db4
++ optional (readline != null) readline
++ optional (openssl != null) openssl
;
in
@ -63,6 +65,7 @@ stdenv.mkDerivation {
sqliteSupport = sqlite != null;
db4Support = db4 != null;
readlineSupport = readline != null;
opensslSupport = openssl != null;
libPrefix = "python2.5";
};
}

View File

@ -1839,6 +1839,7 @@ let pkgs = rec {
db4 = if getConfig ["python" "db4Support"] false then db4 else null;
sqlite = if getConfig ["python" "sqlite"] false then sqlite else null;
readline = if getConfig ["python" "readlineSupport"] false then readline else null;
openssl = if getConfig ["python" "opensslSupport"] false then openssl else null;
} null;
pyrex = pyrex095;