python310Packages.osmnx: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-01-28 14:02:26 +01:00
parent be5f70b7ff
commit 2b9581da29

View File

@ -1,27 +1,63 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, geopandas, matplotlib, networkx, numpy
, pandas, requests, Rtree, shapely, folium, scikit-learn, scipy, gdal, rasterio}:
{ lib
, buildPythonPackage
, fetchFromGitHub
, folium
, gdal
, geopandas
, matplotlib
, networkx
, numpy
, pandas
, pythonOlder
, rasterio
, requests
, Rtree
, scikit-learn
, scipy
, shapely
}:
buildPythonPackage rec {
pname = "osmnx";
version = "1.2.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "gboeing";
repo = pname;
rev = "v${version}";
sha256 = "sha256-+dUv1QrUmCIOCyUyjYX1kJtZrPuSp3t9xz/sRV7ppgA=";
owner = "gboeing";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-+dUv1QrUmCIOCyUyjYX1kJtZrPuSp3t9xz/sRV7ppgA=";
};
propagatedBuildInputs = [ geopandas matplotlib networkx numpy pandas requests Rtree shapely folium scikit-learn scipy gdal rasterio ];
propagatedBuildInputs = [
geopandas
matplotlib
networkx
numpy
pandas
requests
Rtree
shapely
folium
scikit-learn
scipy
gdal
rasterio
];
# requires network
# Tests require network
doCheck = false;
pythonImportsCheck = [ "osmnx" ];
pythonImportsCheck = [
"osmnx"
];
meta = with lib; {
description = "A 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/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};