aboutsummaryrefslogtreecommitdiff
path: root/devShells/c.nix
blob: 7aba33f7351bf7a70901deb6dd6b4211fca849c6 (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
41
42
43
44
45
46
47
48
49
50
51
52
{
  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;
  }