nixpkgs/pkgs/development/python2-packages/pyopenssl/default.nix
Marc Weber 8c0b7e4ad2 - adding experimental python31 build
- cleanup python libraries:
 * moving all python libraries into a attr set into a directory
   so that expressions can be used for both: python 2.5 and 2.6 easily
 * disabling packages which don't build

svn path=/nixpkgs/trunk/; revision=21142
2010-04-17 18:28:25 +00:00

27 lines
634 B
Nix

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";
};
}