diff options
Diffstat (limited to 'c++/window-opengl/.nix/derivation.nix')
-rw-r--r-- | c++/window-opengl/.nix/derivation.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/c++/window-opengl/.nix/derivation.nix b/c++/window-opengl/.nix/derivation.nix new file mode 100644 index 0000000..95cd318 --- /dev/null +++ b/c++/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"]; +} |