Commit d8f70bf6 authored by rexxDigital's avatar rexxDigital
Browse files

reactphysics3d: 0.9.0 -> 0.10.0

parent c38b6d6c
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -2,25 +2,15 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "reactphysics3d";
  version = "0.9.0";
  version = "0.10.0";

  src = fetchFromGitHub {
    owner = "DanielChappuis";
    repo = "reactphysics3d";
    rev = "v${finalAttrs.version}";
    hash = "sha256-AUdsUXsygsGfS8H+AHEV1fSrrX7zGmfsaTONYUG3zqk=";
    hash = "sha256-LWBnrqDFhpzN/XUEGniZeViDq3R1MtmuU5CMCQ59VOY=";
  };

  patches = [
    # Fix gcc-13 build failure:
    #   https://github.com/DanielChappuis/reactphysics3d/pull/371
    (fetchpatch {
      name ="gcc-13.patch";
      url = "https://github.com/DanielChappuis/reactphysics3d/commit/9335856664fdc3bd1073209f0b4f6eae24c35848.patch";
      hash = "sha256-pCiAHfv66tbE8+hpVvjS22jLi7I+pPofSy8w7eWEp9o=";
    })
  ];

  nativeBuildInputs = [ cmake ];

  meta = with lib; {