python3Packages.geopy: 1.20 -> unstable-2019-11-10
* Update geopy to unstable version from GitHub for Python 3+ * Add GuillaumeDesforges as maintainer
This commit is contained in:
parent
d11137ef90
commit
6d12f065e9
|
@ -2615,6 +2615,12 @@
|
||||||
githubId = 9705357;
|
githubId = 9705357;
|
||||||
name = "Guillaume Bouchard";
|
name = "Guillaume Bouchard";
|
||||||
};
|
};
|
||||||
|
GuillaumeDesforges = {
|
||||||
|
email = "aceus02@gmail.com";
|
||||||
|
github = "GuillaumeDesforges";
|
||||||
|
githubId = 1882000;
|
||||||
|
name = "Guillaume Desforges";
|
||||||
|
};
|
||||||
guillaumekoenig = {
|
guillaumekoenig = {
|
||||||
email = "guillaume.edward.koenig@gmail.com";
|
email = "guillaume.edward.koenig@gmail.com";
|
||||||
github = "guillaumekoenig";
|
github = "guillaumekoenig";
|
||||||
|
|
|
@ -1,31 +1,30 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, isPy27
|
, isPy3k
|
||||||
, mock
|
, geographiclib
|
||||||
, tox
|
|
||||||
, pylint
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "geopy";
|
pname = "geopy-unstable";
|
||||||
version = "1.20.0";
|
version = "2019-11-10";
|
||||||
disabled = !isPy27;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
disabled = !isPy3k; # only Python 3
|
||||||
inherit pname version;
|
doCheck = false; # Needs network access
|
||||||
sha256 = "9419bc90ee6231590c4ae7acf1cf126cefbd0736942da7a6a1436946e80830e2";
|
|
||||||
|
propagatedBuildInputs = [ geographiclib ];
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "geopy";
|
||||||
|
repo = "geopy";
|
||||||
|
rev = "531b7de6126838a3e69370227aa7f2086ba52b89";
|
||||||
|
sha256 = "07l1pblzg3hb3dbvd9rq8x78ly5dv0zxbc5hwskqil0bhv5v1p39";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false; # too much
|
|
||||||
|
|
||||||
buildInputs = [ mock tox pylint ];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/geopy/geopy";
|
homepage = "https://github.com/geopy/geopy";
|
||||||
description = "Python Geocoding Toolbox";
|
description = "Python Geocoding Toolbox";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
broken = true;
|
maintainers = with maintainers; [GuillaumeDesforges];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4877,7 +4877,9 @@ in {
|
||||||
|
|
||||||
geographiclib = callPackage ../development/python-modules/geographiclib { };
|
geographiclib = callPackage ../development/python-modules/geographiclib { };
|
||||||
|
|
||||||
geopy = callPackage ../development/python-modules/geopy { };
|
geopy = if isPy3k
|
||||||
|
then callPackage ../development/python-modules/geopy { }
|
||||||
|
else callPackage ../development/python-modules/geopy/2.nix { };
|
||||||
|
|
||||||
django-haystack = callPackage ../development/python-modules/django-haystack { };
|
django-haystack = callPackage ../development/python-modules/django-haystack { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue