diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-07-20 20:52:46 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-07-20 20:52:46 +0200 |
commit | 933f712dd3fa4a1e40b4a16bb22c67a37e0d0ead (patch) | |
tree | 01a05e76def09a0abed39d5324055474e33b2af7 /c++/graphics/.nix/derivation.nix | |
parent | fac9e8bec1983fa9dff8f447fef106e427dfec26 (diff) |
c++,graphics: Slowly starting rebuilding the graphics code
Diffstat (limited to 'c++/graphics/.nix/derivation.nix')
-rw-r--r-- | c++/graphics/.nix/derivation.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/c++/graphics/.nix/derivation.nix b/c++/graphics/.nix/derivation.nix new file mode 100644 index 0000000..36a12c8 --- /dev/null +++ b/c++/graphics/.nix/derivation.nix @@ -0,0 +1,38 @@ +{ lib +, stdenvNoCC +, scons +, clang +, clang-tools +, version +, forstio +, xorg +}: + +let + +in stdenvNoCC.mkDerivation { + pname = "forstio-graphics"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.io + forstio.codec + forstio.window + forstio.window-opengl + xorg.libX11 + xorg.libxcb + ]; + + outputs = ["out" "dev"]; +} |