From 49fbd753bee3e6cec68f4e23cc766934c8449eb3 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Sat, 24 Aug 2024 18:10:41 +0200 Subject: Preparing for wavefront --- modules/codec-obj/.nix/derivation.nix | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 modules/codec-obj/.nix/derivation.nix (limited to 'modules/codec-obj/.nix') diff --git a/modules/codec-obj/.nix/derivation.nix b/modules/codec-obj/.nix/derivation.nix new file mode 100644 index 0000000..1152cee --- /dev/null +++ b/modules/codec-obj/.nix/derivation.nix @@ -0,0 +1,36 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +}: + +let + +in stdenv.mkDerivation { + pname = "forstio-codec-obj"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.codec + ]; + + doCheck = true; + checkPhase = '' + scons test + ./bin/tests + ''; + + outputs = ["out" "dev"]; +} -- cgit v1.2.3