summaryrefslogtreecommitdiff
path: root/default.nix
blob: cf9ee19a9d98bb4c6825fa3e91239d01cfda1b67 (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
{ pkgs ? import <nixpkgs> {}
, clang ? pkgs.clang_15
, clang-tools ? pkgs.clang-tools_15
}:

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

    test = pkgs.callPackage c++/test/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit clang;
      inherit clang-tools;
    };
    
    async = pkgs.callPackage c++/async/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit clang;
      inherit clang-tools;
    };
    
    codec = pkgs.callPackage c++/codec/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit clang;
      inherit clang-tools;
    };
    
    codec-json = pkgs.callPackage c++/codec-json/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit clang;
      inherit clang-tools;
    };
    
    io = pkgs.callPackage c++/io/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit clang;
      inherit clang-tools;
    };
    
    io-tls = pkgs.callPackage c++/io-tls/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit clang;
      inherit clang-tools;
    };
    
    window = pkgs.callPackage c++/window/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit clang;
      inherit clang-tools;
    };
    
    window-opengl = pkgs.callPackage c++/window-opengl/.nix/derivation.nix {
      inherit version;
      inherit forstio;
      inherit clang;
      inherit clang-tools;
    };
  };

  forstio-test-cases = pkgs.callPackage tests/.nix/derivation.nix {
    inherit version;
    inherit forstio;
    inherit clang;
    inherit clang-tools;
  };
}