blob: 561e9d6369b1880e7d7d73e99d34e790b59f3700 (
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
|
{ lib
, stdenv
, scons
, clang-tools
, version
, forstio
}:
stdenv.mkDerivation {
pname = "forstio-examples-tools";
inherit version;
src = ./..;
enableParallelBuilding = true;
nativeBuildInputs = [
scons
clang-tools
forstio.tools
];
buildInputs = [
forstio.core
forstio.codec
];
buildPhase = ''
scons all
ls
build/forstio_examples_c_lang_bindings
'';
installPhase = ''
mkdir -p $out
cp forstio_example* $out/
'';
outputs = ["out"];
}
|