blob: 6f0a98d159bf860394f70468c276b563bb59ec11 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation (finalAttrs: {
pname = "reactphysics3d";
version = "0.10.1";
src = fetchFromGitHub {
owner = "DanielChappuis";
repo = "reactphysics3d";
rev = "v${finalAttrs.version}";
hash = "sha256-j57wzqAmBV/pK7PPUDXV6ciOCQVs2gX+BaGHk4kLuUI=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Open source C++ physics engine library";
homepage = "https://www.reactphysics3d.com";
changelog = "https://github.com/DanielChappuis/reactphysics3d/releases/tag/${finalAttrs.src.rev}";
maintainers = with maintainers; [ rexxDigital ];
license = licenses.zlib;
platforms = platforms.all;
};
})
|