forked from roc-streaming/roc-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
52 lines (45 loc) · 1.03 KB
/
Copy pathshell.nix
File metadata and controls
52 lines (45 loc) · 1.03 KB
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
# Development shell initialization for NixOS.
#
# Details: https://roc-streaming.org/toolkit/docs/building/dependencies.html
{
pkgs ? import <nixpkgs> { },
}:
pkgs.clangStdenv.mkDerivation {
name = "clang-shell";
nativeBuildInputs = [
pkgs.clang-tools
# A properly wrapped clangd is already made available by the clang-tools derivation.
# clang-tools has to come before clang to set precedence in PATH for clangd.
pkgs.clang
# build deps
pkgs.autoconf
pkgs.automake
pkgs.cmake
pkgs.gengetopt
pkgs.gnumake
pkgs.intltool
pkgs.libtool
pkgs.meson
pkgs.pkg-config
pkgs.ragel
pkgs.scons
# documentation
pkgs.doxygen
#~pkgs.graphviz-nox
#~(pkgs.python3.withPackages(ps: with ps; [ breathe sphinx ]))
];
buildInputs = [
# other deps
pkgs.libpulseaudio
pkgs.libsndfile
pkgs.libunwind
pkgs.libuuid
pkgs.libuv
pkgs.openssl
pkgs.sox
pkgs.speexdsp
# optional deps: formatting, tests, ...
pkgs.cpputest
pkgs.gbenchmark
];
}