diff options
Diffstat (limited to 'pkgs/development/python-modules/pyopenssl/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pyopenssl/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyopenssl/default.nix b/pkgs/development/python-modules/pyopenssl/default.nix new file mode 100644 index 000000000000..86a79f1070e9 --- /dev/null +++ b/pkgs/development/python-modules/pyopenssl/default.nix @@ -0,0 +1,26 @@ +a : +let + fetchurl = a.fetchurl; + + version = a.lib.attrByPath ["version"] "0.8" a; + propagatedBuildInputs = with a; [ + openssl python + ]; +in +rec { + src = fetchurl { + url = "http://prdownloads.sourceforge.net/sourceforge/pyopenssl/pyOpenSSL-${version}.tar.gz"; + sha256 = "1qzzycjyp1qsw87msj9kg2q3h7il1bf4jkrwy841y0zi44fl3112"; + }; + + inherit propagatedBuildInputs; + configureFlags = []; + + /* doConfigure should be removed if not needed */ + phaseNames = ["installPythonPackage"]; + + name = "pyOpenSSL-" + version; + meta = { + description = "Python OpenSSL wrapper capable of checking certificates"; + }; +} |