brewery
notashelf /
b311a0a9693975c3f8ad2fd59d68e924021e667d

chroma

public

Lightweight wallpaper daemon for Wayland

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