depot/third_party/nixpkgs/pkgs/development/python-modules/mesa/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

51 lines
949 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
isPy27,
cookiecutter,
networkx,
pandas,
tornado,
tqdm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mesa";
version = "2.2.4";
format = "setuptools";
# According to their docs, this library is for Python 3+.
disabled = isPy27;
src = fetchPypi {
pname = "mesa";
inherit version;
hash = "sha256-5og3ACS2r36BEGWfqtw6WG6yJwNF5p3M9K25sSmHosM=";
};
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
};
}