Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pycurl2 / default.nix
blob1cdfb6c4413fc91fd0e7fb6f18b2636f8e3bea27
1 { lib, buildPythonPackage, fetchFromGitHub
2 , isPy3k
3 , simplejson
4 , unittest2
5 , nose
6 , pkgs
7 }:
9 buildPythonPackage {
10   pname = "pycurl2";
11   version = "7.20.0";
12   disabled = isPy3k;
14   src = fetchFromGitHub {
15     owner = "Lispython";
16     repo = "pycurl";
17     rev = "0f00109950b883d680bd85dc6e8a9c731a7d0d13";
18     sha256 = "1qmw3cm93kxj94s71a8db9lwv2cxmr2wjv7kp1r8zildwdzhaw7j";
19   };
21   # error: (6, "Couldn't resolve host 'h.wrttn.me'")
22   doCheck = false;
24   nativeBuildInputs = [ pkgs.curl.dev ];
25   buildInputs = [ simplejson unittest2 nose ];
27   meta = with 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   };