summaryrefslogtreecommitdiff
path: root/modules/codec-netcdf/.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec-netcdf/.nix')
-rw-r--r--modules/codec-netcdf/.nix/derivation.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/codec-netcdf/.nix/derivation.nix b/modules/codec-netcdf/.nix/derivation.nix
new file mode 100644
index 0000000..770942e
--- /dev/null
+++ b/modules/codec-netcdf/.nix/derivation.nix
@@ -0,0 +1,33 @@
+{ lib
+, stdenv
+, scons
+, clang
+, clang-tools
+, version
+, forstio
+, netcdf
+}:
+
+let
+
+in stdenv.mkDerivation {
+ pname = "forstio-codec-netcdf";
+ inherit version;
+ src = ./..;
+
+ enableParallelBuilding = true;
+
+ nativeBuildInputs = [
+ scons
+ clang-tools
+ ];
+
+ buildInputs = [
+ forstio.core
+ forstio.async
+ forstio.codec
+ netcdf
+ ];
+
+ outputs = ["out" "dev"];
+}