Update aider (#375634)
[NixPkgs.git] / pkgs / development / python-modules / inequality / default.nix
blob3e0177119309959652b327dcc03f30f69a44fcc4
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
8   libpysal,
9   numpy,
10   scipy,
11   setuptools-scm,
14 buildPythonPackage rec {
15   pname = "inequality";
16   version = "1.0.1";
17   pyproject = true;
18   disabled = pythonOlder "3.10";
20   src = fetchFromGitHub {
21     owner = "pysal";
22     repo = "inequality";
23     rev = "v${version}";
24     hash = "sha256-dy1/KXnmIh5LnTxuyYfIvtt1p2CIpNQ970o5pTg6diQ=";
25   };
27   build-system = [ setuptools-scm ];
29   propagatedBuildInputs = [
30     libpysal
31     numpy
32     scipy
33   ];
35   nativeCheckInputs = [ pytestCheckHook ];
37   pythonImportsCheck = [ "inequality" ];
39   meta = {
40     description = "Spatial inequality analysis";
41     homepage = "https://github.com/pysal/inequality";
42     license = lib.licenses.bsd3;
43     maintainers = lib.teams.geospatial.members;
44   };