brewery
notashelf /
987f4fcc99a0c380b487742577efa3882379d13f

chroma

public

Lightweight wallpaper daemon for Wayland

Star0tarball
clone
ssh://git@git.notashelf.dev:33/notashelf/chroma.git
shell.nixNix51 lines1.0 KB
1
{pkgs ? import <nixpkgs> {}}:
2
pkgs.mkShell {
3
  name = "chroma";
4
  buildInputs = with pkgs; [
5
    gnumake
6
7
    # Optional development tools
8
    gdb
9
    valgrind
10
    strace
11
12
    # Code formatting and analysis
13
    clang-tools # includes clang-format
14
    cppcheck
15
16
    # Wayland libraries
17
    wayland.dev
18
    wayland-protocols
19
    wayland-scanner
20
    libxkbcommon
21
22
    # EGL/OpenGL libraries
23
    libGL
24
    mesa
25
26
    # System libraries
27
    glibc.dev
28
29
    # For Tests
30
    (python313.withPackages (ps: with ps; [matplotlib numpy]))
31
  ];
32
33
  nativeBuildInputs = with pkgs; [
34
    pkg-config
35
  ];
36
37
  shellHook = ''
38
    echo "Available commands:"
39
    echo "  make          - Build the project"
40
    echo "  make debug    - Build with debug symbols"
41
    echo "  make clean    - Clean build artifacts"
42
    echo "  make install  - Install to ~/.local"
43
    echo "  make help     - Show all available targets"
44
    echo
45
    echo "Run 'make check-deps' to verify all dependencies are available."
46
    echo
47
  '';
48
49
  # Environment variables for the build system
50
  env.WAYLAND_DEBUG = 1;
51
}