nixpkgs/pkgs/development/python-modules/pyopenssl/default.nix
Peter Simons 4e872b84ee pyOpenSSL: updated to version 0.10
svn path=/nixpkgs/trunk/; revision=22773
2010-07-27 23:52:14 +00:00

27 lines
625 B
Nix

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