summaryrefslogtreecommitdiff
path: root/examples/particles_gpu/.nix/derivation.nix
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-01-07 11:21:49 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-01-07 11:21:49 +0100
commite9fc9f329589feb902fd1c982d9fa55bd69d81ea (patch)
tree2cf9a04cd666c6eb596d9c3523e32e857f06ea0d /examples/particles_gpu/.nix/derivation.nix
parentf5159d60fe3a0dcbdc5613658d9ade274ab88ee1 (diff)
downloadlibs-lbm-e9fc9f329589feb902fd1c982d9fa55bd69d81ea.tar.gz
Renaming folder
Diffstat (limited to 'examples/particles_gpu/.nix/derivation.nix')
-rw-r--r--examples/particles_gpu/.nix/derivation.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/examples/particles_gpu/.nix/derivation.nix b/examples/particles_gpu/.nix/derivation.nix
new file mode 100644
index 0000000..227132f
--- /dev/null
+++ b/examples/particles_gpu/.nix/derivation.nix
@@ -0,0 +1,37 @@
+{ lib
+, stdenv
+, scons
+, clang-tools
+, forstio
+, python3
+, pname
+, version
+, kel-lbm
+, adaptive-cpp
+}:
+
+stdenv.mkDerivation {
+ pname = pname + "-examples-" + "particles";
+ inherit version;
+ src = ./..;
+
+ nativeBuildInputs = [
+ scons
+ clang-tools
+ python3
+ ];
+
+ buildInputs = [
+ forstio.core
+ forstio.async
+ forstio.codec
+ forstio.codec-unit
+ forstio.codec-json
+ kel-lbm.core
+ adaptive-cpp
+ ];
+
+ preferLocalBuild = true;
+
+ outputs = [ "out" "dev" ];
+}