diff options
Diffstat (limited to 'c++/device-hip/.nix')
-rw-r--r-- | c++/device-hip/.nix/derivation.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/c++/device-hip/.nix/derivation.nix b/c++/device-hip/.nix/derivation.nix new file mode 100644 index 0000000..6849e6e --- /dev/null +++ b/c++/device-hip/.nix/derivation.nix @@ -0,0 +1,30 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +}: + +let + +in stdenv.mkDerivation { + pname = "forstio-io_codec"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.codec + ]; + + outputs = ["out" "dev"]; +} |