2010-07-28 00:52:14 +01:00
|
|
|
a :
|
|
|
|
let
|
2009-04-12 20:34:20 +01:00
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2012-09-13 15:02:41 +01:00
|
|
|
version = a.lib.attrByPath ["version"] "0.13" 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";
|
|
|
|
sha256 = "21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b";
|
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";
|
|
|
|
};
|
|
|
|
}
|