b79da2786f
Conflicts: pkgs/development/python-modules/bundlewrap/default.nix pkgs/development/python-modules/coverage/default.nix pkgs/development/python-modules/h5netcdf/default.nix pkgs/development/python-modules/hypothesis/default.nix pkgs/development/python-modules/numba/default.nix pkgs/development/python-modules/optype/default.nix pkgs/development/python-modules/setuptools-git-versioning/default.nix pkgs/development/python-modules/sphinx/default.nix
56 lines
919 B
Nix
56 lines
919 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
|
|
geopandas,
|
|
inequality,
|
|
libpysal,
|
|
mapclassify,
|
|
networkx,
|
|
packaging,
|
|
pandas,
|
|
setuptools-scm,
|
|
shapely,
|
|
tqdm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "momepy";
|
|
version = "0.11.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pysal";
|
|
repo = "momepy";
|
|
tag = "v${version}";
|
|
hash = "sha256-Og7W+35k9HIIEFGcDmsxggb1BT5cwnaMIi3HO3VRAX0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|