1 { lib, stdenv, fetchFromGitHub, cmake }:
3 stdenv.mkDerivation (finalAttrs: {
4 pname = "reactphysics3d";
7 src = fetchFromGitHub {
8 owner = "DanielChappuis";
9 repo = "reactphysics3d";
10 rev = "v${finalAttrs.version}";
11 hash = "sha256-AUdsUXsygsGfS8H+AHEV1fSrrX7zGmfsaTONYUG3zqk=";
14 nativeBuildInputs = [ cmake ];
17 description = "An open source C++ physics engine library";
18 homepage = "https://www.reactphysics3d.com";
19 maintainers = with maintainers; [ rexxDigital ];
20 license = licenses.zlib;
21 platforms = platforms.all;