summaryrefslogtreecommitdiff
path: root/examples/wind_wheel_3d/.nix/derivation.nix
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-11-11 15:51:01 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-11-11 15:51:01 +0100
commit40d2986127a3efe62f4f5d7c0b401ecb1296912b (patch)
treec4e087eb7845efdf6809eae1b513655000cb7a08 /examples/wind_wheel_3d/.nix/derivation.nix
parent7b3cc7174856a6ae72fe2e037814a5312d429d74 (diff)
downloadlibs-lbm-40d2986127a3efe62f4f5d7c0b401ecb1296912b.tar.gz
Dangling changes and shenanigans
Diffstat (limited to 'examples/wind_wheel_3d/.nix/derivation.nix')
-rw-r--r--examples/wind_wheel_3d/.nix/derivation.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/examples/wind_wheel_3d/.nix/derivation.nix b/examples/wind_wheel_3d/.nix/derivation.nix
new file mode 100644
index 0000000..eb13bc3
--- /dev/null
+++ b/examples/wind_wheel_3d/.nix/derivation.nix
@@ -0,0 +1,38 @@
+{ lib
+, stdenv
+, scons
+, clang-tools
+, forstio
+, pname
+, version
+, kel-lbm
+}:
+
+stdenv.mkDerivation {
+ pname = pname + "-examples-" + "wind_wheel_3d";
+ inherit version;
+ src = ./..;
+
+ nativeBuildInputs = [
+ scons
+ clang-tools
+ ];
+
+ buildInputs = [
+ forstio.core
+ forstio.async
+ forstio.io
+ forstio.io_codec
+ forstio.codec
+ forstio.codec-unit
+ forstio.codec-json
+ forstio.remote
+ forstio.remote-filesystem
+ forstio.remote-io
+ kel-lbm
+ ];
+
+ preferLocalBuild = true;
+
+ outputs = [ "out" "dev" ];
+}