From e933ccb59c7f032d2ffc5c5f7046317a06e85e14 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 17 Oct 2023 02:30:52 +0200 Subject: codec,codec-minecraft: Adding basic foundations needed for the minecraft protocol --- c++/codec-minecraft/.nix/derivation.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 c++/codec-minecraft/.nix/derivation.nix (limited to 'c++/codec-minecraft/.nix/derivation.nix') diff --git a/c++/codec-minecraft/.nix/derivation.nix b/c++/codec-minecraft/.nix/derivation.nix new file mode 100644 index 0000000..7704d13 --- /dev/null +++ b/c++/codec-minecraft/.nix/derivation.nix @@ -0,0 +1,32 @@ +{ lib +, stdenvNoCC +, scons +, clang +, clang-tools +, version +, forstio +}: + +let + +in stdenvNoCC.mkDerivation { + pname = "forstio-codec-minecraft"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.codec + ]; + + outputs = ["out" "dev"]; +} -- cgit v1.2.3