depot/third_party/nixpkgs/pkgs/development/python-modules/mesa/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

51 lines
904 B
Nix

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