e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
51 lines
904 B
Nix
51 lines
904 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
, cookiecutter
|
|
, networkx
|
|
, pandas
|
|
, tornado
|
|
, tqdm
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mesa";
|
|
version = "2.1.5";
|
|
format = "setuptools";
|
|
|
|
# According to their docs, this library is for Python 3+.
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
pname = "Mesa";
|
|
inherit version;
|
|
hash = "sha256-UMf3z1bEElygfqwgY65qhOEK4i9K9gH42muId3mZUjY=";
|
|
};
|
|
|
|
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 = "An agent-based modeling (or ABM) framework in Python";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.dpaetzel ];
|
|
};
|
|
}
|