mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
4e872b84ee
svn path=/nixpkgs/trunk/; revision=22773
27 lines
625 B
Nix
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";
|
|
};
|
|
}
|