2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2020-12-27 14:24:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "entt";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "3.13.1";
|
2020-12-27 14:24:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skypjack";
|
|
|
|
repo = "entt";
|
|
|
|
rev = "v${version}";
|
2024-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-TZuKgpLJCy3uct39SFSVi4b4lyldcfJ3AQNrz3OT3Ow=";
|
2020-12-27 14:24:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-12-27 14:24:52 +00:00
|
|
|
homepage = "https://github.com/skypjack/entt";
|
|
|
|
description = "A header-only, tiny and easy to use library for game programming and much more written in modern C++";
|
|
|
|
maintainers = with maintainers; [ twey ];
|
2022-01-03 16:56:52 +00:00
|
|
|
platforms = platforms.all;
|
2020-12-27 14:24:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|