summaryrefslogtreecommitdiff
path: root/c++/codec/.nix/derivation.nix
blob: 768dc6e950943515e6509a9203f4735727ed9a41 (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
{ lib
, stdenvNoCC
, scons
, clang
, clang-tools
, version
, forstio
}:

let

in stdenvNoCC.mkDerivation {
  pname = "forstio-codec";
  inherit version;
  src = ./..;

  enableParallelBuilding = true;

  buildInputs = [
    forstio.core
  ];

  nativeBuildInputs = [
    scons
    clang
    clang-tools
  ];

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