summaryrefslogtreecommitdiff
path: root/forstio/codec/.nix
diff options
context:
space:
mode:
authorClaudius Holeksa <mail@keldu.de>2023-04-29 18:03:24 +0200
committerClaudius Holeksa <mail@keldu.de>2023-04-29 18:03:24 +0200
commit937e67ff5ae9e770367bfee3100154b6a6957ce7 (patch)
treec09be3b6929ce6fd533c83564a89fe523be7a46f /forstio/codec/.nix
parent4e18f3798465ae952e15a2620177421d8b8c1f00 (diff)
Added codec and ammended async build
Diffstat (limited to 'forstio/codec/.nix')
-rw-r--r--forstio/codec/.nix/derivation.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/forstio/codec/.nix/derivation.nix b/forstio/codec/.nix/derivation.nix
new file mode 100644
index 0000000..c9fac2e
--- /dev/null
+++ b/forstio/codec/.nix/derivation.nix
@@ -0,0 +1,31 @@
+{ 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"];
+}