git.iko.soy/typeable/nixpkgs
on master help sign in
python2Packages.geopy: Freeze in seperate file
commitd11137ef90a5ab19ac1245f4277709ab06061a37 authorGuillaume Desforges <aceus02@gmail.com> dateTue 12 Nov 2019, 19:11 (7 years ago) parent9e733df
1 file changed+28
pkgs/development/python-modules/geopy/2.nix+28
pkgs/development/python-modules/geopy/2.nixnew file+28
@@ -0,0 +1,28 @@
1+{ stdenv
2+, buildPythonPackage
3+, fetchPypi
4+, isPy27
5+, geographiclib
6+}:
7+
8+buildPythonPackage rec {
9+ pname = "geopy";
10+ version = "1.20.0";
11+
12+ disabled = !isPy27; # only Python 2.7
13+ doCheck = false; # Needs network access
14+
15+ propagatedBuildInputs = [ geographiclib ];
16+
17+ src = fetchPypi {
18+ inherit pname version;
19+ sha256 = "9419bc90ee6231590c4ae7acf1cf126cefbd0736942da7a6a1436946e80830e2";
20+ };
21+
22+ meta = with stdenv.lib; {
23+ homepage = "https://github.com/geopy/geopy";
24+ description = "Python Geocoding Toolbox";
25+ license = licenses.mit;
26+ maintainers = with maintainers; [GuillaumeDesforges];
27+ };
28+}