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