From d205153060b58af342cc47c48973f10129417eef Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 3 Jul 2023 18:33:50 +0200 Subject: c++,window-opengl: Starting to provide the basic gl creation --- src/window-opengl/.nix/derivation.nix | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/window-opengl/.nix/derivation.nix (limited to 'src/window-opengl/.nix/derivation.nix') diff --git a/src/window-opengl/.nix/derivation.nix b/src/window-opengl/.nix/derivation.nix new file mode 100644 index 0000000..95cd318 --- /dev/null +++ b/src/window-opengl/.nix/derivation.nix @@ -0,0 +1,37 @@ +{ lib +, stdenvNoCC +, scons +, clang +, clang-tools +, version +, forstio +, xorg +}: + +let + +in stdenvNoCC.mkDerivation { + pname = "forstio-window-opengl"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.io + forstio.codec + forstio.window + xorg.libX11 + xorg.libxcb + ]; + + outputs = ["out" "dev"]; +} -- cgit v1.2.3