2010-07-28 01:52:14 +02:00
|
|
|
a :
|
|
|
|
let
|
2009-04-12 21:34:20 +02:00
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2013-12-04 04:26:34 +01:00
|
|
|
version = a.lib.attrByPath ["version"] "0.13.1" a;
|
2009-04-12 21:34:20 +02:00
|
|
|
propagatedBuildInputs = with a; [
|
|
|
|
openssl python
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
2012-09-13 16:02:41 +02:00
|
|
|
url = "http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz";
|
2013-12-04 04:26:34 +01:00
|
|
|
sha256 = "1nrg2kas0wsv65j8sia8zkkc6ir5i20lrhkfavjxzxhl0iqyq1ms";
|
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";
|
|
|
|
};
|
|
|
|
}
|