Merge pull request #200413 from r-ryantm/auto-update/entt
entt: 3.10.3 -> 3.11.0
This commit is contained in:
commit
145b2392c2
@ -1,23 +1,17 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "entt";
|
pname = "entt";
|
||||||
version = "3.10.3";
|
version = "3.11.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "skypjack";
|
owner = "skypjack";
|
||||||
repo = "entt";
|
repo = "entt";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-pewAwvNRCBS6rm3AmHthiayGfP71lqkAO+x6rT957Xg=";
|
sha256 = "sha256-urB1oU4Riuo9+DKmMf317bqF4hTcm/zsSLn5fpZY27o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
# https://github.com/skypjack/entt/issues/890
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace cmake/in/entt.pc.in \
|
|
||||||
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/skypjack/entt";
|
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++";
|
description = "A header-only, tiny and easy to use library for game programming and much more written in modern C++";
|
||||||
|
Loading…
Reference in New Issue
Block a user