aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pycurl2/default.nix
blob: 01428d41b7d209b5b784c770cfdd00c62a96def7 (plain)
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
27
28
29
30
31
32
33
34
{ stdenv
, buildPythonPackage
, fetchgit
, isPy3k
, simplejson
, unittest2
, nose
, pkgs
}:

buildPythonPackage {
  pname = "pycurl2";
  version = "7.20.0";
  disabled = isPy3k;

  src = fetchgit {
    url = "https://github.com/Lispython/pycurl.git";
    rev = "0f00109950b883d680bd85dc6e8a9c731a7d0d13";
    sha256 = "1qmw3cm93kxj94s71a8db9lwv2cxmr2wjv7kp1r8zildwdzhaw7j";
  };

  # error: (6, "Couldn't resolve host 'h.wrttn.me'")
  doCheck = false;

  buildInputs = [ pkgs.curl simplejson unittest2 nose ];

  meta = with stdenv.lib; {
    homepage = https://pypi.python.org/pypi/pycurl2;
    description = "A fork from original PycURL library that no maintained from 7.19.0";
    license = licenses.mit;
    platforms = platforms.linux;
  };

}