biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / momepy / default.nix
blob7d6ffd6ff94d09bf8d9f77cb015b12a73b71c020
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
8   geopandas,
9   inequality,
10   libpysal,
11   mapclassify,
12   networkx,
13   packaging,
14   pandas,
15   setuptools-scm,
16   shapely,
17   tqdm,
20 buildPythonPackage rec {
21   pname = "momepy";
22   version = "0.8.1";
23   pyproject = true;
24   disabled = pythonOlder "3.10";
26   src = fetchFromGitHub {
27     owner = "pysal";
28     repo = "momepy";
29     rev = "refs/tags/v${version}";
30     hash = "sha256-9GVX+OaBkLb3Q/RRHbGOlAJ3gu2K+V07ez6v9dWU6JU=";
31   };
33   build-system = [ setuptools-scm ];
35   propagatedBuildInputs = [
36     geopandas
37     inequality
38     libpysal
39     mapclassify
40     networkx
41     packaging
42     pandas
43     shapely
44     tqdm
45   ];
47   nativeCheckInputs = [ pytestCheckHook ];
49   pythonImportsCheck = [ "momepy" ];
51   meta = {
52     description = "Urban Morphology Measuring Toolkit";
53     homepage = "https://github.com/pysal/momepy";
54     license = lib.licenses.bsd3;
55     maintainers = lib.teams.geospatial.members;
56   };