f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
51 lines
949 B
Nix
51 lines
949 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isPy27,
|
|
cookiecutter,
|
|
networkx,
|
|
pandas,
|
|
tornado,
|
|
tqdm,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mesa";
|
|
version = "2.3.0";
|
|
format = "setuptools";
|
|
|
|
# According to their docs, this library is for Python 3+.
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
pname = "mesa";
|
|
inherit version;
|
|
hash = "sha256-wXHCyUk05Ez4ye5a1rKXCyKPZMK7bR7xZ5rpD5mEaUw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cookiecutter
|
|
networkx
|
|
pandas
|
|
tornado
|
|
tqdm
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
disabledTests = [
|
|
"test_examples"
|
|
"test_run"
|
|
"test_scaffold_creates_project_dir"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/projectmesa/mesa";
|
|
description = "Agent-based modeling (or ABM) framework in Python";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.dpaetzel ];
|
|
broken = true; # missing dependencies
|
|
};
|
|
}
|