Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "reactphysics3d"; 10 version = "0.10.2"; 11 12 src = fetchFromGitHub { 13 owner = "DanielChappuis"; 14 repo = "reactphysics3d"; 15 rev = "v${finalAttrs.version}"; 16 hash = "sha256-ZwV3mh/onlHPHeT6tky2CpawLZxEikY6hq4FVn6i5hI="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = with lib; { 22 description = "Open source C++ physics engine library"; 23 homepage = "https://www.reactphysics3d.com"; 24 changelog = "https://github.com/DanielChappuis/reactphysics3d/releases/tag/${finalAttrs.src.rev}"; 25 maintainers = with maintainers; [ rexxDigital ]; 26 license = licenses.zlib; 27 platforms = platforms.all; 28 }; 29})