depot/third_party/nixpkgs/pkgs/development/python-modules/pycurl2/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

34 lines
777 B
Nix

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