2019-09-13 20:27:09 +01:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub
|
2018-10-26 14:10:10 +01:00
|
|
|
, isPy3k
|
|
|
|
, simplejson
|
|
|
|
, unittest2
|
|
|
|
, nose
|
|
|
|
, pkgs
|
|
|
|
}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
buildPythonPackage {
|
2018-10-26 14:10:10 +01:00
|
|
|
pname = "pycurl2";
|
|
|
|
version = "7.20.0";
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
2019-09-13 20:27:09 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Lispython";
|
|
|
|
repo = "pycurl";
|
2018-10-26 14:10:10 +01:00
|
|
|
rev = "0f00109950b883d680bd85dc6e8a9c731a7d0d13";
|
|
|
|
sha256 = "1qmw3cm93kxj94s71a8db9lwv2cxmr2wjv7kp1r8zildwdzhaw7j";
|
|
|
|
};
|
|
|
|
|
|
|
|
# error: (6, "Couldn't resolve host 'h.wrttn.me'")
|
|
|
|
doCheck = false;
|
|
|
|
|
2019-09-13 20:27:09 +01:00
|
|
|
nativeBuildInputs = [ pkgs.curl.dev ];
|
|
|
|
buildInputs = [ simplejson unittest2 nose ];
|
2018-10-26 14:10:10 +01:00
|
|
|
|
2019-09-13 20:27:09 +01:00
|
|
|
meta = with lib; {
|
2018-10-26 14:10:10 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|