aboutsummaryrefslogtreecommitdiff
path: root/devShells/c.nix
blob: a6ffbd654822e2cda7dd58f57dcc9a7968fd4a26 (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
{ system, nixpkgs
, default
}:
let
  pkgs = nixpkgs.legacyPackages.${system};

in pkgs.mkShell {
  packages = (with pkgs; [

    clang-tools_14 ctags
    gcc gdb pkg-config

    gnumake bear
    meson ninja
    cmake

    valgrind
    lcov massif-visualizer
    cppcheck flawfinder

    check
    curl
    ncurses
    flex bison gperf
    gtk3 gtk4

    # Various libraries
    openssl.dev zlib.dev curl.dev libconfig
    czmq libevent.dev

    # LVGL
    SDL2 libffi.dev

    (python3.withPackages (pypkgs: with pypkgs; [
      schema jinja2 ruamel-yaml
    ]))
  ]);
  inputsFrom = with pkgs; [ default ];
  meta.platforms = nixpkgs.lib.platforms.linux;
}