summaryrefslogtreecommitdiff
path: root/examples/planetary_3d/.nix
diff options
context:
space:
mode:
Diffstat (limited to 'examples/planetary_3d/.nix')
-rw-r--r--examples/planetary_3d/.nix/derivation.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/examples/planetary_3d/.nix/derivation.nix b/examples/planetary_3d/.nix/derivation.nix
new file mode 100644
index 0000000..c6c3ea6
--- /dev/null
+++ b/examples/planetary_3d/.nix/derivation.nix
@@ -0,0 +1,39 @@
+{ lib
+, stdenv
+, scons
+, clang-tools
+, forstio
+, pname
+, version
+, kel-lbm
+}:
+
+stdenv.mkDerivation {
+ pname = pname + "-examples-" + "planetary_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-sycl
+ forstio.remote-io
+ kel-lbm
+ ];
+
+ preferLocalBuild = true;
+
+ outputs = [ "out" "dev" ];
+}