mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
python3Packages.inequality: init at 1.0.1
This commit is contained in:
parent
8a46e631bd
commit
77927b3fe3
45
pkgs/development/python-modules/inequality/default.nix
Normal file
45
pkgs/development/python-modules/inequality/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
|
||||
libpysal,
|
||||
numpy,
|
||||
scipy,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "inequality";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pysal";
|
||||
repo = "inequality";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-dy1/KXnmIh5LnTxuyYfIvtt1p2CIpNQ970o5pTg6diQ=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
libpysal
|
||||
numpy
|
||||
scipy
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "inequality" ];
|
||||
|
||||
meta = {
|
||||
description = "Spatial inequality analysis";
|
||||
homepage = "https://github.com/pysal/inequality";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = lib.teams.geospatial.members;
|
||||
};
|
||||
}
|
@ -5787,6 +5787,8 @@ self: super: with self; {
|
||||
|
||||
indexed-zstd = callPackage ../development/python-modules/indexed-zstd { inherit (pkgs) zstd; };
|
||||
|
||||
inequality = callPackage ../development/python-modules/inequality { };
|
||||
|
||||
infinity = callPackage ../development/python-modules/infinity { };
|
||||
|
||||
inflect = callPackage ../development/python-modules/inflect { };
|
||||
|
Loading…
Reference in New Issue
Block a user