diff options
Diffstat (limited to 'examples/particles_gpu/.nix/derivation.nix')
| -rw-r--r-- | examples/particles_gpu/.nix/derivation.nix | 37 |
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" ]; +} |
