Skip to content

Commit

Permalink
pythonPackage.pycurl2: fix build
Browse files Browse the repository at this point in the history
(cherry picked from commit cc7c778)
  • Loading branch information
Jonathan Ringer authored and globin committed Sep 24, 2019
1 parent d3feb15 commit 9c0c769
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pkgs/development/python-modules/pycurl2/default.nix
@@ -1,6 +1,4 @@
{ stdenv
, buildPythonPackage
, fetchgit
{ lib, buildPythonPackage, fetchFromGitHub
, isPy3k
, simplejson
, unittest2
Expand All @@ -13,18 +11,20 @@ buildPythonPackage {
version = "7.20.0";
disabled = isPy3k;

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

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

buildInputs = [ pkgs.curl simplejson unittest2 nose ];
nativeBuildInputs = [ pkgs.curl.dev ];
buildInputs = [ simplejson unittest2 nose ];

meta = with stdenv.lib; {
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;
Expand Down

0 comments on commit 9c0c769

Please sign in to comment.