2023-01-20 10:41:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
, cookiecutter
|
|
|
|
, networkx
|
|
|
|
, pandas
|
|
|
|
, tornado
|
|
|
|
, tqdm
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mesa";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "1.1.1";
|
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# According to their docs, this library is for Python 3+.
|
|
|
|
disabled = isPy27;
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
pname = "Mesa";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-FPQLPClI8CKVsacZs4DLFnaikVSwrevU5TfUMevXgSY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
cookiecutter
|
|
|
|
networkx
|
|
|
|
pandas
|
|
|
|
tornado
|
|
|
|
tqdm
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-01-20 10:41:00 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
disabledTests = [
|
|
|
|
"test_examples"
|
|
|
|
"test_run"
|
|
|
|
"test_scaffold_creates_project_dir"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/projectmesa/mesa";
|
|
|
|
description = "An agent-based modeling (or ABM) framework in Python";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.dpaetzel ];
|
|
|
|
};
|
|
|
|
}
|