2010-07-28 01:52:14 +02:00
|
|
|
a :
|
|
|
|
let
|
2009-04-12 21:34:20 +02:00
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2010-07-28 01:52:14 +02:00
|
|
|
version = a.lib.attrByPath ["version"] "0.10" a;
|
2009-04-12 21:34:20 +02:00
|
|
|
propagatedBuildInputs = with a; [
|
|
|
|
openssl python
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
2010-07-28 01:52:14 +02:00
|
|
|
url = "http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.10.tar.gz";
|
|
|
|
sha256 = "4514f8960389042ca2587f9cb801a13f7990387753fc678680b0c084719b5b60";
|
2009-04-12 21:34:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit propagatedBuildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["installPythonPackage"];
|
2010-07-28 01:52:14 +02:00
|
|
|
|
2009-04-12 21:34:20 +02:00
|
|
|
name = "pyOpenSSL-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Python OpenSSL wrapper capable of checking certificates";
|
|
|
|
};
|
|
|
|
}
|