aboutsummaryrefslogtreecommitdiff
path: root/devShells/c.nix
blob: d015cb4c4387c67c9c4969ac7a553c422f3a7318 (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
{ 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
    gobject-introspection
    gtk3 gtk4

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

    # LVGL
    SDL2 libffi.dev
  ]);
  inputsFrom = with pkgs; [ default ];
  meta.platforms = nixpkgs.lib.platforms.linux;
}