Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 66 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, buildPythonPackage, fetchFromGitHub, folium, gdal, geopandas, hatchling, matplotlib, networkx, numpy, pandas, pythonOlder, rasterio, requests, rtree, scikit-learn, scipy, shapely,}:
buildPythonPackage rec { pname = "osmnx"; version = "2.0.0"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "gboeing"; repo = "osmnx"; tag = "v${version}"; hash = "sha256-5IvohqEYYvFqAKOYreEsEKjzfJaqShYck2xCSQXXfyQ="; };
build-system = [ hatchling ];
dependencies = [ geopandas matplotlib networkx numpy pandas requests rtree shapely folium scikit-learn scipy gdal rasterio ];
# Tests require network doCheck = false;
pythonImportsCheck = [ "osmnx" ];
meta = { description = "Package to easily download, construct, project, visualize, and analyze complex street networks from OpenStreetMap with NetworkX"; homepage = "https://github.com/gboeing/osmnx"; changelog = "https://github.com/gboeing/osmnx/blob/${src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ psyanticy ]; };}