Something went wrong. Try again.
A sans-I/O reader and writer for RIFF, the container underneath WAV, AVI and WebP.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667# SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie <jeff@ocjtech.us># SPDX-License-Identifier: MIT
{ description = "zig-riff - a sans-I/O reader and writer for the RIFF container format";
inputs = { nixpkgs = { url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"; }; };
outputs = { self, nixpkgs, ... }:
let inherit (nixpkgs) lib; makePackages = system: import nixpkgs { inherit system; }; forAllSystems = lib.genAttrs lib.systems.flakeExposed; in { packages = forAllSystems ( system: let pkgs = makePackages system; riff = pkgs.callPackage ./package.nix { }; in { inherit riff; default = riff; } );
# `nix flake check` builds the package, which runs `zig build test` as # its check phase. checks = forAllSystems (system: { riff = (makePackages system).callPackage ./package.nix { }; });
devShells = forAllSystems ( system: let pkgs = makePackages system; in { default = pkgs.mkShell { name = "zig-riff"; nativeBuildInputs = [ pkgs.zig_0_17 pkgs.git-pages-cli pkgs.pinact pkgs.reuse ]; }; } ); };}