summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyopenssl/default.nix
blob: 5f92e2cf2025cfd92547198cc6d7aa5f36caef20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
a :
let
  fetchurl = a.fetchurl;

  version = a.lib.attrByPath ["version"] "0.13.1" a;
  propagatedBuildInputs = with a; [
    openssl python
  ];
in
rec {
  src = fetchurl {
    url = "http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz";
    sha256 = "1nrg2kas0wsv65j8sia8zkkc6ir5i20lrhkfavjxzxhl0iqyq1ms";
  };

  inherit propagatedBuildInputs;
  configureFlags = [];

  /* doConfigure should be removed if not needed */
  phaseNames = ["installPythonPackage"];

  name = "pyOpenSSL-" + version;
  meta = {
    description = "Python OpenSSL wrapper capable of checking certificates";
  };
}