about summary refs log tree commit diff
path: root/pkgs/development/libraries/entt/default.nix
diff options
context:
space:
mode:
authorJames Kay <james@hadean.com>2020-10-29 12:07:56 +0000
committerJames Kay <james@hadean.com>2020-11-02 10:12:17 +0000
commit5a17b0759e20c66f2d3176cd5df5b93bac357cb4 (patch)
treea0cb25a55e826933fc2d625b91f8773fe02d0c49 /pkgs/development/libraries/entt/default.nix
parent4c92053749c3f7cb5aa68fbe741e2fa6b481c430 (diff)
entt: init at 3.5.2
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/development/libraries/entt/default.nix')
-rw-r--r--pkgs/development/libraries/entt/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/libraries/entt/default.nix b/pkgs/development/libraries/entt/default.nix
new file mode 100644
index 0000000000000..35e12eb00c7ba
--- /dev/null
+++ b/pkgs/development/libraries/entt/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchFromGitHub, cmake }:
+stdenv.mkDerivation rec {
+  pname = "entt";
+  version = "3.5.2";
+
+  src = fetchFromGitHub {
+    owner = "skypjack";
+    repo = "entt";
+    rev = "v${version}";
+    sha256 = "1p09p1wn8cbj17z83iyyy2498wy1gzyi2mmqi5i2cxglslbm6hy0";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  meta = with stdenv.lib; {
+    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;
+  };
+}