openlogi 0.6.27

OpenLogi command-line interface — a local-first companion for Logitech HID++ peripherals.
{
  description = "OpenLogi — local-first companion for Logitech HID++ peripherals";

  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";

  # The dev shell lives in devenv.nix (devenv.yaml); this flake only exposes
  # the buildable Linux package so `nix build` / `nix run` are first-class.
  # See nix/package.nix for why this vendoring approach avoids the cargoHash
  # churn that led to the previous flake's removal (#262).
  outputs =
    { self, nixpkgs }:
    let
      systems = [
        "x86_64-linux"
        "aarch64-linux"
      ];
      forAllSystems = nixpkgs.lib.genAttrs systems;
    in
    {
      packages = forAllSystems (system: {
        openlogi = nixpkgs.legacyPackages.${system}.callPackage ./nix/package.nix { src = self; };
        default = self.packages.${system}.openlogi;
      });
    };
}