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
|
, sqlite ? null
|
||||||
, db4 ? null
|
, db4 ? null
|
||||||
, readline ? null
|
, readline ? null
|
||||||
|
, openssl ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert zlibSupport -> zlib != null;
|
assert zlibSupport -> zlib != null;
|
||||||
@ -20,6 +21,7 @@ let
|
|||||||
++ optional (sqlite != null) sqlite
|
++ optional (sqlite != null) sqlite
|
||||||
++ optional (db4 != null) db4
|
++ optional (db4 != null) db4
|
||||||
++ optional (readline != null) readline
|
++ optional (readline != null) readline
|
||||||
|
++ optional (openssl != null) openssl
|
||||||
;
|
;
|
||||||
|
|
||||||
in
|
in
|
||||||
@ -63,6 +65,7 @@ stdenv.mkDerivation {
|
|||||||
sqliteSupport = sqlite != null;
|
sqliteSupport = sqlite != null;
|
||||||
db4Support = db4 != null;
|
db4Support = db4 != null;
|
||||||
readlineSupport = readline != null;
|
readlineSupport = readline != null;
|
||||||
|
opensslSupport = openssl != null;
|
||||||
libPrefix = "python2.5";
|
libPrefix = "python2.5";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1839,6 +1839,7 @@ let pkgs = rec {
|
|||||||
db4 = if getConfig ["python" "db4Support"] false then db4 else null;
|
db4 = if getConfig ["python" "db4Support"] false then db4 else null;
|
||||||
sqlite = if getConfig ["python" "sqlite"] false then sqlite else null;
|
sqlite = if getConfig ["python" "sqlite"] false then sqlite else null;
|
||||||
readline = if getConfig ["python" "readlineSupport"] false then readline else null;
|
readline = if getConfig ["python" "readlineSupport"] false then readline else null;
|
||||||
|
openssl = if getConfig ["python" "opensslSupport"] false then openssl else null;
|
||||||
} null;
|
} null;
|
||||||
|
|
||||||
pyrex = pyrex095;
|
pyrex = pyrex095;
|
||||||
|
Loading…
Reference in New Issue
Block a user