Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
58 lines
967 B
Nix
58 lines
967 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|