summaryrefslogtreecommitdiff
path: root/examples/poiseulle_particles_2d_bgk_gpu/.nix
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-03-06 21:05:36 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-03-06 21:05:36 +0100
commit25c85bf962e0646f8e03f67fd4982450f41ee6a6 (patch)
tree1310dca3d2a9e372ead13d166a57db8cfcbbfe84 /examples/poiseulle_particles_2d_bgk_gpu/.nix
parent507440cdf786f7a1a83bdf22371f1844910382fb (diff)
downloadlibs-lbm-25c85bf962e0646f8e03f67fd4982450f41ee6a6.tar.gz
Work finished for this weekdev
Diffstat (limited to 'examples/poiseulle_particles_2d_bgk_gpu/.nix')
-rw-r--r--examples/poiseulle_particles_2d_bgk_gpu/.nix/derivation.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/examples/poiseulle_particles_2d_bgk_gpu/.nix/derivation.nix b/examples/poiseulle_particles_2d_bgk_gpu/.nix/derivation.nix
new file mode 100644
index 0000000..517b6b8
--- /dev/null
+++ b/examples/poiseulle_particles_2d_bgk_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-" + "poiseulle_2d_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" ];
+}