summaryrefslogtreecommitdiff
path: root/default.nix
blob: 13042e3fed254b4d657d514056fcb9c7fcef897f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{ pkgs ? import <nixpkgs> {}
, stdenv ? pkgs.llvmPackages_16.stdenv
, clang-tools ? pkgs.clang-tools_16
}:

let
  version = "0.0.0";
in rec {
  forstio = {
    core = pkgs.callPackage modules/core/.nix/derivation.nix {
      inherit version;
      inherit stdenv;
      inherit clang-tools;
    };

    async = pkgs.callPackage modules/async/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit stdenv;
      inherit clang-tools;
    };
    
    codec = pkgs.callPackage modules/codec/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit stdenv;
      inherit clang-tools;
    };
    
    codec-json = pkgs.callPackage modules/codec-json/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit stdenv;
      inherit clang-tools;
    };

    codec-netcdf = pkgs.callPackage modules/codec-netcdf/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit stdenv;
      inherit clang-tools;
    };
    
    io = pkgs.callPackage modules/io/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit stdenv;
      inherit clang-tools;
		
		build_examples = "true";
    };
    
    io-tls = pkgs.callPackage modules/io-tls/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit stdenv;
		inherit clang-tools;

    };
	 
	 io_codec = pkgs.callPackage modules/io_codec/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit stdenv;
      inherit clang-tools;
    };
    
    tools = pkgs.callPackage modules/tools/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit stdenv;
      inherit clang-tools;
	 };
 };

 all = pkgs.symlinkJoin {
	name = "forstio-${version}";
	paths = [
		forstio.core
		forstio.async
		forstio.codec
		forstio.codec-json
		forstio.codec-netcdf
		forstio.io
		forstio.io-tls
	];
 };
}