1{ lib, stdenv, fetchFromGitHub, cmake }:
2stdenv.mkDerivation rec {
3 pname = "entt";
4 version = "3.13.2";
5
6 src = fetchFromGitHub {
7 owner = "skypjack";
8 repo = "entt";
9 rev = "v${version}";
10 hash = "sha256-botX9T9KEXbctI1hUOt983y2rtWDeXyTonGYpJ6eGr8=";
11 };
12
13 nativeBuildInputs = [ cmake ];
14
15 meta = with lib; {
16 homepage = "https://github.com/skypjack/entt";
17 description = "A header-only, tiny and easy to use library for game programming and much more written in modern C++";
18 maintainers = with maintainers; [ twey ];
19 platforms = platforms.all;
20 license = licenses.mit;
21 };
22}