at 22.05-pre 976 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, geopandas, matplotlib, networkx, numpy 2, pandas, requests, Rtree, shapely, folium, scikit-learn, scipy, gdal, rasterio}: 3 4buildPythonPackage rec { 5 pname = "osmnx"; 6 version = "1.1.1"; 7 disabled = pythonOlder "3.6"; 8 9 src = fetchFromGitHub { 10 owner = "gboeing"; 11 repo = pname; 12 rev = "v${version}"; 13 sha256 = "0dkv3fnlq23d7d30lhdf4a313lxy3a5qfldidvszs1z9n16ycnwb"; 14 }; 15 16 propagatedBuildInputs = [ geopandas matplotlib networkx numpy pandas requests Rtree shapely folium scikit-learn scipy gdal rasterio ]; 17 18 # requires network 19 doCheck = false; 20 pythonImportsCheck = [ "osmnx" ]; 21 22 meta = with lib; { 23 description = "A package to easily download, construct, project, visualize, and analyze complex street networks from OpenStreetMap with NetworkX."; 24 homepage = "https://github.com/gboeing/osmnx"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ psyanticy ]; 27 }; 28} 29