nixpkgs/pkgs/by-name/re/reactphysics3d/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
709 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
2023-10-06 07:42:13 +01:00
stdenv.mkDerivation (finalAttrs: {
pname = "reactphysics3d";
2024-06-26 03:39:01 +01:00
version = "0.10.1";
2023-10-06 07:42:13 +01:00
src = fetchFromGitHub {
owner = "DanielChappuis";
repo = "reactphysics3d";
rev = "v${finalAttrs.version}";
2024-06-26 03:39:01 +01:00
hash = "sha256-j57wzqAmBV/pK7PPUDXV6ciOCQVs2gX+BaGHk4kLuUI=";
2023-10-06 07:42:13 +01:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Open source C++ physics engine library";
homepage = "https://www.reactphysics3d.com";
2024-06-16 21:48:03 +01:00
changelog = "https://github.com/DanielChappuis/reactphysics3d/releases/tag/${finalAttrs.src.rev}";
2023-10-06 07:42:13 +01:00
maintainers = with maintainers; [ rexxDigital ];
license = licenses.zlib;
platforms = platforms.all;
};
})