diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-08-06 16:34:24 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-08-06 16:34:24 +0200 |
commit | 3beda6ac36f494df11851b657a4bcc967bceb79d (patch) | |
tree | 7f6c16fc073a58aa1f11e8f3f5215d572a5be8f2 /modules/window-vulkan/.nix | |
parent | 6a5d5b204569fc6abe6cb5a8ac338350eb5e923d (diff) |
wip
Diffstat (limited to 'modules/window-vulkan/.nix')
-rw-r--r-- | modules/window-vulkan/.nix/derivation.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/modules/window-vulkan/.nix/derivation.nix b/modules/window-vulkan/.nix/derivation.nix new file mode 100644 index 0000000..086e200 --- /dev/null +++ b/modules/window-vulkan/.nix/derivation.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +, xorg +}: + +let + +in stdenv.mkDerivation { + pname = "forstio-window-vulkan"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.io + forstio.codec + forstio.window + xorg.libX11 + xorg.libxcb + ]; + + doCheck = false; + checkPhase = '' + scons test + ./bin/tests + ''; + + outputs = ["out" "dev"]; +} |