summaryrefslogtreecommitdiff
path: root/modules/core/.nix/derivation.nix
blob: 372d3a6a16d4031676579d1cbaab9566632360df (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
{ lib
, stdenv
, scons
, clang-tools
, version
}:

stdenv.mkDerivation {
  pname = "forstio-core";
  inherit version;
  src = ./..;

  enableParallelBuilding = true;

  nativeBuildInputs = [
    scons
    clang-tools
  ];

  doCheck = true;
  checkPhase = ''
    scons test
    ./bin/tests
  '';

  outputs = ["out" "dev"];
}