2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2020-10-29 12:07:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "entt";
|
2021-04-04 19:27:27 +01:00
|
|
|
version = "3.7.0";
|
2020-10-29 12:07:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skypjack";
|
|
|
|
repo = "entt";
|
|
|
|
rev = "v${version}";
|
2021-04-04 19:27:27 +01:00
|
|
|
sha256 = "sha256-qDjt74nijZhXW7F7GW0CSv6JWOc/kXN7ndbkwSO0+1s=";
|
2020-10-29 12:07:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-10-29 12:07:56 +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 ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|