brewery
notashelf /
d145d88b7ee83cfd47af56afaae79a177b49d436

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
30
  nativeBuildInputs = with pkgs; [
31
    pkg-config
32
  ];
33
34
  shellHook = ''
35
    echo "Available commands:"
36
    echo "  make          - Build the project"
37
    echo "  make debug    - Build with debug symbols"
38
    echo "  make clean    - Clean build artifacts"
39
    echo "  make install  - Install to ~/.local"
40
    echo "  make help     - Show all available targets"
41
    echo
42
    echo "Run 'make check-deps' to verify all dependencies are available."
43
    echo
44
  '';
45
46
  # Environment variables for the build system
47
  env = {
48
    CHROMA_VERSION = "1.0.0";
49
    WAYLAND_DEBUG = 1;
50
  };
51
}