1{ stdenv
2, buildPythonPackage
3, fetchgit
4, isPy3k
5, simplejson
6, unittest2
7, nose
8, pkgs
9}:
10
11buildPythonPackage rec {
12 pname = "pycurl2";
13 version = "7.20.0";
14 disabled = isPy3k;
15
16 src = fetchgit {
17 url = "https://github.com/Lispython/pycurl.git";
18 rev = "0f00109950b883d680bd85dc6e8a9c731a7d0d13";
19 sha256 = "1qmw3cm93kxj94s71a8db9lwv2cxmr2wjv7kp1r8zildwdzhaw7j";
20 };
21
22 # error: (6, "Couldn't resolve host 'h.wrttn.me'")
23 doCheck = false;
24
25 buildInputs = [ pkgs.curl simplejson unittest2 nose ];
26
27 meta = with stdenv.lib; {
28 homepage = https://pypi.python.org/pypi/pycurl2;
29 description = "A fork from original PycURL library that no maintained from 7.19.0";
30 license = licenses.mit;
31 platforms = platforms.linux;
32 };
33
34}