15 buildPythonPackage rec {
17 version = "unstable-2022-10-15";
18 format = "setuptools";
20 src = fetchFromGitHub {
21 owner = "facebookresearch";
23 rev = "ae0a4e361457caf6b7e397675cc86f46161405ed";
24 hash = "sha256-pFVbl4m7qX1mJgleNabRboS9klDDsbzUa4PYL5+Jupc=";
27 # Simulate the git submodules but with nixpkgs dependencies
29 rm -rf $sourceRoot/third_party/*
30 ln -s ${nlohmann_json.src} $sourceRoot/third_party/json
31 ln -s ${pybind11.src} $sourceRoot/third_party/pybind11
36 src = ./dependencies.patch;
37 gtest_src = gtest.src;
41 nativeBuildInputs = [ cmake ];
42 dontUseCmakeConfigure = true;
44 buildInputs = [ sfml ];
46 # hydra-core and pyvirtualdisplay are not declared as dependences but they are requirements
47 propagatedBuildInputs = [
52 # Test suite requires hydra-submitit-launcher which is not packaged as of 2022-01-02
55 pythonImportsCheck = [ "nocturne" ];
58 description = "Data-driven, fast driving simulator for multi-agent coordination under partial observability";
59 homepage = "https://github.com/facebookresearch/nocturne";
60 license = licenses.mit;
61 maintainers = with maintainers; [ samuela ];