depot/third_party/nixpkgs/pkgs/by-name/re/reactphysics3d/package.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

23 lines
621 B
Nix

{ lib, stdenv, fetchFromGitHub, fetchpatch, 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 = "An open source C++ physics engine library";
homepage = "https://www.reactphysics3d.com";
maintainers = with maintainers; [ rexxDigital ];
license = licenses.zlib;
platforms = platforms.all;
};
})