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