nixpkgs/pkgs/by-name/en/entt/package.nix
2024-12-02 04:38:17 +00:00

23 lines
612 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "entt";
version = "3.14.0";
src = fetchFromGitHub {
owner = "skypjack";
repo = "entt";
rev = "v${version}";
hash = "sha256-IPAM7fr/tvSOMKWUbXbloNAnlp5t7J0ynSsTMZ2jKYs=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://github.com/skypjack/entt";
description = "Header-only, tiny and easy to use library for game programming and much more written in modern C++";
maintainers = with maintainers; [ twey ];
platforms = platforms.all;
license = licenses.mit;
};
}