mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
python3Packages.momepy: init at 0.7.0
This commit is contained in:
parent
77927b3fe3
commit
2921686e0f
57
pkgs/development/python-modules/momepy/default.nix
Normal file
57
pkgs/development/python-modules/momepy/default.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
|
||||
geopandas,
|
||||
inequality,
|
||||
libpysal,
|
||||
mapclassify,
|
||||
networkx,
|
||||
packaging,
|
||||
pandas,
|
||||
setuptools-scm,
|
||||
shapely,
|
||||
tqdm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "momepy";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pysal";
|
||||
repo = "momepy";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-HVp2a0z+5fbfkNSxnTfZPCgG2SJMlKX/zso14M18mCk=";
|
||||
};
|
||||
|
||||
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;
|
||||
maintainers = lib.teams.geospatial.members;
|
||||
};
|
||||
}
|
@ -7677,6 +7677,8 @@ self: super: with self; {
|
||||
|
||||
molecule-plugins = callPackage ../development/python-modules/molecule/plugins.nix { };
|
||||
|
||||
momepy = callPackage ../development/python-modules/momepy { };
|
||||
|
||||
monai = callPackage ../development/python-modules/monai { };
|
||||
|
||||
monai-deploy = callPackage ../development/python-modules/monai-deploy { };
|
||||
|
Loading…
Reference in New Issue
Block a user