pythonPackages.pycurl2: refactor move to python-modules
This commit is contained in:
parent
9c69f1790d
commit
781d05c95a
34
pkgs/development/python-modules/pycurl2/default.nix
Normal file
34
pkgs/development/python-modules/pycurl2/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, isPy3k
|
||||
, simplejson
|
||||
, unittest2
|
||||
, nose
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycurl2";
|
||||
version = "7.20.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/Lispython/pycurl.git";
|
||||
rev = "0f00109950b883d680bd85dc6e8a9c731a7d0d13";
|
||||
sha256 = "1qmw3cm93kxj94s71a8db9lwv2cxmr2wjv7kp1r8zildwdzhaw7j";
|
||||
};
|
||||
|
||||
# error: (6, "Couldn't resolve host 'h.wrttn.me'")
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ pkgs.curl simplejson unittest2 nose ];
|
||||
|
||||
meta = with stdenv.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;
|
||||
};
|
||||
|
||||
}
|
@ -3293,27 +3293,7 @@ in {
|
||||
|
||||
pycurl = callPackage ../development/python-modules/pycurl { };
|
||||
|
||||
pycurl2 = buildPythonPackage (rec {
|
||||
name = "pycurl2-7.20.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchgit {
|
||||
url = "https://github.com/Lispython/pycurl.git";
|
||||
rev = "0f00109950b883d680bd85dc6e8a9c731a7d0d13";
|
||||
sha256 = "1qmw3cm93kxj94s71a8db9lwv2cxmr2wjv7kp1r8zildwdzhaw7j";
|
||||
};
|
||||
|
||||
# error: (6, "Couldn't resolve host 'h.wrttn.me'")
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = with self; [ pkgs.curl simplejson unittest2 nose ];
|
||||
|
||||
meta = {
|
||||
homepage = https://pypi.python.org/pypi/pycurl2;
|
||||
description = "A fork from original PycURL library that no maintained from 7.19.0";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
});
|
||||
pycurl2 = callPackage ../development/python-modules/pycurl2 { };
|
||||
|
||||
pydispatcher = buildPythonPackage (rec {
|
||||
version = "2.0.5";
|
||||
|
Loading…
Reference in New Issue
Block a user