From c1d73cbe17650c834faee5a0098a9499b39a2835 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 5 Nov 2025 09:44:04 +0100 Subject: Dangling changes from the weekend. Added io/ssh setup --- modules/io-ssh/.nix/derivation.nix | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 modules/io-ssh/.nix/derivation.nix (limited to 'modules/io-ssh/.nix/derivation.nix') diff --git a/modules/io-ssh/.nix/derivation.nix b/modules/io-ssh/.nix/derivation.nix new file mode 100644 index 0000000..6131a98 --- /dev/null +++ b/modules/io-ssh/.nix/derivation.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +, gnutls +, build_examples ? "false" +}: + +let + +in stdenv.mkDerivation { + pname = "forstio-io-tls"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.io + gnutls + ]; + + buildPhase = '' + scons build_examples=${build_examples} + ''; + + installPhase = '' + scons prefix=$out build_examples=${build_examples} install + ''; + + outputs = ["out" "dev"]; +} -- cgit v1.2.3