From fe53a6cc42b645cab62515e257f52426ae568753 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 7 Apr 2025 14:20:42 +0200 Subject: Copied netcdf for vtk preparation --- modules/codec-vtk/.nix/derivation.nix | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 modules/codec-vtk/.nix/derivation.nix (limited to 'modules/codec-vtk/.nix') diff --git a/modules/codec-vtk/.nix/derivation.nix b/modules/codec-vtk/.nix/derivation.nix new file mode 100644 index 0000000..00f610d --- /dev/null +++ b/modules/codec-vtk/.nix/derivation.nix @@ -0,0 +1,37 @@ +{ lib +, stdenv +, scons +, clang +, clang-tools +, version +, forstio +}: + +let + +in stdenv.mkDerivation { + pname = "forstio-codec-vtk"; + 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