2024-02-29 20:09:43 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }:
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "reactphysics3d";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.10.0";
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DanielChappuis";
|
|
|
|
repo = "reactphysics3d";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-LWBnrqDFhpzN/XUEGniZeViDq3R1MtmuU5CMCQ59VOY=";
|
2023-11-16 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An open source C++ physics engine library";
|
|
|
|
homepage = "https://www.reactphysics3d.com";
|
|
|
|
maintainers = with maintainers; [ rexxDigital ];
|
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
})
|