0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
51 lines
898 B
Nix
51 lines
898 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
, cookiecutter
|
|
, networkx
|
|
, pandas
|
|
, tornado
|
|
, tqdm
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mesa";
|
|
version = "1.1.1";
|
|
format = "setuptools";
|
|
|
|
# According to their docs, this library is for Python 3+.
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
pname = "Mesa";
|
|
inherit version;
|
|
hash = "sha256-FPQLPClI8CKVsacZs4DLFnaikVSwrevU5TfUMevXgSY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cookiecutter
|
|
networkx
|
|
pandas
|
|
tornado
|
|
tqdm
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTests = [
|
|
"test_examples"
|
|
"test_run"
|
|
"test_scaffold_creates_project_dir"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/projectmesa/mesa";
|
|
description = "An agent-based modeling (or ABM) framework in Python";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.dpaetzel ];
|
|
};
|
|
}
|