depot/third_party/nixpkgs/pkgs/by-name/re/reactphysics3d/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

23 lines
606 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation (finalAttrs: {
pname = "reactphysics3d";
version = "0.10.0";
src = fetchFromGitHub {
owner = "DanielChappuis";
repo = "reactphysics3d";
rev = "v${finalAttrs.version}";
hash = "sha256-LWBnrqDFhpzN/XUEGniZeViDq3R1MtmuU5CMCQ59VOY=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Open source C++ physics engine library";
homepage = "https://www.reactphysics3d.com";
maintainers = with maintainers; [ rexxDigital ];
license = licenses.zlib;
platforms = platforms.all;
};
})