Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
967 B · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder,
geopandas, inequality, libpysal, mapclassify, networkx, packaging, pandas, setuptools-scm, shapely, tqdm,}:
buildPythonPackage rec { pname = "momepy"; version = "0.10.0"; pyproject = true; disabled = pythonOlder "3.11";
src = fetchFromGitHub { owner = "pysal"; repo = "momepy"; tag = "v${version}"; hash = "sha256-9A1g2WSH1kIXO/BeF8ebcigshfcR8MrT2Ut5K/oxVM4="; };
build-system = [ setuptools-scm ];
propagatedBuildInputs = [ geopandas inequality libpysal mapclassify networkx packaging pandas shapely tqdm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "momepy" ];
meta = { description = "Urban Morphology Measuring Toolkit"; homepage = "https://github.com/pysal/momepy"; license = lib.licenses.bsd3; teams = [ lib.teams.geospatial ]; };}