summaryrefslogtreecommitdiff
path: root/examples/settling_spheres_2d_hlbm_gpu/.nix
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-06-08 20:15:59 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-06-08 20:15:59 +0200
commit3a27bca74e7645874e52f101d467aff8ff7d78f4 (patch)
treeb5f742bd3f146a9747c159f9fd8d099a6d566c1f /examples/settling_spheres_2d_hlbm_gpu/.nix
parent5ea4875b96bfacd4c5f0125c9e7b64b70f0ccfb9 (diff)
parent932fbf86d60df48623ad5fbc9d60e572bb68ef12 (diff)
downloadlibs-lbm-master.tar.gz
Merge branch 'dev'HEADmaster
Diffstat (limited to 'examples/settling_spheres_2d_hlbm_gpu/.nix')
-rw-r--r--examples/settling_spheres_2d_hlbm_gpu/.nix/derivation.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/examples/settling_spheres_2d_hlbm_gpu/.nix/derivation.nix b/examples/settling_spheres_2d_hlbm_gpu/.nix/derivation.nix
new file mode 100644
index 0000000..26b41f2
--- /dev/null
+++ b/examples/settling_spheres_2d_hlbm_gpu/.nix/derivation.nix
@@ -0,0 +1,41 @@
+{ lib
+, stdenv
+, scons
+, clang-tools
+, forstio
+, python3
+, pname
+, version
+, adaptive-cpp
+, kel
+}:
+
+stdenv.mkDerivation {
+ pname = pname + "-examples-" + "setting_spheres_2d_hlbm_gpu";
+ inherit version;
+ src = ./..;
+
+ nativeBuildInputs = [
+ scons
+ clang-tools
+ python3
+ ];
+
+ buildInputs = [
+ forstio.core
+ forstio.async
+ forstio.codec
+ forstio.codec-unit
+ forstio.io
+ forstio.remote
+ forstio.remote-filesystem
+ forstio.codec-json
+ adaptive-cpp
+ kel.lbm.core
+ kel.lbm.sycl
+ ];
+
+ preferLocalBuild = true;
+
+ outputs = [ "out" "dev" ];
+}