Something went wrong. Try again.
A small Zig library for parsing and formatting IEEE 802 MAC addresses.
Something went wrong. Try again.
zig-macaddress flake.nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253# SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie <jeff@ocjtech.us># SPDX-License-Identifier: MIT
{ description = "zig-macaddress";
inputs = { nixpkgs = { url = "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.zst"; }; };
outputs = { nixpkgs, ... }: let inherit (nixpkgs) lib; linuxSystems = builtins.filter ( system: (lib.systems.elaborate system).isLinux ) lib.systems.flakeExposed; makePackages = system: import nixpkgs { inherit system; }; forAllSystems = lib.genAttrs linuxSystems; in { devShells = forAllSystems ( system: let pkgs = makePackages system; in { default = pkgs.mkShell { name = "zig-macaddress"; nativeBuildInputs = [ # Uploads zig-out/docs to https://jeff.jcollie.page/zig-macaddress/; # the workflow runs it through this shell rather than carrying # its own copy. pkgs.git-pages-cli pkgs.pinact pkgs.reuse pkgs.zig_0_17 ]; }; } ); };}