mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
OpenSSL support for Python
svn path=/nixpkgs/trunk/; revision=11894
This commit is contained in:
parent
9d3b0a2cb7
commit
99c9108757
@ -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";
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user