diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-07-03 18:33:50 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-07-03 18:33:50 +0200 |
commit | d205153060b58af342cc47c48973f10129417eef (patch) | |
tree | 73aa9d7464bc4153d444c143f75708ad000cd286 /src/window-opengl/.nix/derivation.nix | |
parent | 7e4dbdfadcb666c038f2815722e8c58f821c58af (diff) |
c++,window-opengl: Starting to provide the basic gl creation
Diffstat (limited to 'src/window-opengl/.nix/derivation.nix')
-rw-r--r-- | src/window-opengl/.nix/derivation.nix | 37 |
1 files changed, 37 insertions, 0 deletions
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"]; +} |