Something went wrong. Try again.
A Zig library for driving Elgato Stream Deck devices over USB HID.
Something went wrong. Try again.
zig-streamdeck build.zig.zon
1.7 kB · 41 lines
at zig-0.16
123456789101112131415161718192021222324252627282930313233343536373839404142// SPDX-FileCopyrightText: © 2025 Jeffrey C. Ollie <jeff@ocjtech.us>// SPDX-License-Identifier: MIT
.{ .name = .streamdeck, .version = "0.1.0", .fingerprint = 0xa8a2b7b3c58bf380,
.dependencies = .{ // Pinned to exactly what z2dimg depends on. Two different z2d // packages in one graph are two different `Surface` types, and // a surface drawn here could not then be handed to an encoder // there. .z2d = .{ .url = "git+https://git.jcollie.dev/jeff/z2d.git#641e273c4e6bf7bfa2ee3ea2151a7e983971bc9b", .hash = "z2d-0.12.2-pre-j5P_HpV-EgCA6ARD2LO1cVSgFV33oG41sO7NtrQ4_5vP", }, .z2dimg = .{ .url = "git+https://git.jcollie.dev/jeff/z2dimg.git#0fb7031cd1c1d374ef7a32fe3c177ccaa4fd2c3c", .hash = "z2dimg-0.0.0-N7PaCY8jJADSuHVnkQRGYJ40w6WFt8Tc5cnJ4NKqA7nf", }, .hidapi = .{ .url = "git+https://git.jcollie.dev/jeff/zig-hidapi.git#c7805bb33410e16af6e222222815de8dda62a7d3", .hash = "hidapi-0.0.3-PuroMzLsBgDX3w2x_YpI2OaqVeQxx0H3twxKjAPRKE6l", }, },
.paths = .{ "src", // `build.zig` hands `nix/module.nix` to the library module under a // name so that `src/udev.zig` can `@embedFile` it and check the // module has not drifted from the device table. That import is on // the module every consumer builds, so a package without the file // is a package nobody else can compile: Zig hashes a module's // files before it analyzes anything, and a missing one is // `file_hash FileNotFound` rather than a skipped test. "nix", "build.zig", "build.zig.zon", },}