// SPDX-FileCopyrightText: © 2025 Jeffrey C. Ollie // SPDX-License-Identifier: MIT .{ .name = .streamdeck, .version = "0.2.0", .minimum_zig_version = "0.17.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#95e6d0dd70d8161f40cd6600a26520c5719b30b5", .hash = "z2d-0.13.0-j5P_HhoOEwDhf6BtdL-qSncLzYopF4BdDuYtVrl9x_oU", }, .z2dimg = .{ .url = "git+https://git.jcollie.dev/jeff/z2dimg.git#f6037e4b8a65258ac06398082f91fd595f1be109", .hash = "z2dimg-0.2.0-N7PaCVAXJADB50Lgp1Fw3phtyQDk6tM3tSHQErraNKOI", }, .hidapi = .{ .url = "git+https://git.jcollie.dev/jeff/zig-hidapi.git#ca010969c239a368feae3c610dbd616100d3f590", .hash = "hidapi-0.0.4-PuroM9jsBgAwXbSK6JQrCFY80M_N1iieS9X0NywS3DRb", }, }, .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", }, }