diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-07-10 14:14:56 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-07-10 14:14:56 +0200 |
commit | 72cb86441bb405d7d5882abd3331d5191c7aab8c (patch) | |
tree | 21e7e04adc982258d7eb605314829b3a29d13bd0 /modules/remote/.nix/derivation.nix | |
parent | 4eac6ba237bcf430bdab954020e3caf5094ba707 (diff) |
Preparation to separate remote code from codec
Diffstat (limited to 'modules/remote/.nix/derivation.nix')
-rw-r--r-- | modules/remote/.nix/derivation.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/modules/remote/.nix/derivation.nix b/modules/remote/.nix/derivation.nix new file mode 100644 index 0000000..8f6dd74 --- /dev/null +++ b/modules/remote/.nix/derivation.nix @@ -0,0 +1,36 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +}: + +let + +in stdenv.mkDerivation { + pname = "forstio-remote"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + buildInputs = [ + forstio.core + forstio.async + forstio.codec + ]; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + doCheck = true; + checkPhase = '' + scons test + ./bin/tests + ''; + + outputs = ["out" "dev"]; +} |