miro-pdf 0.6.3

A native pdf viewer for Windows and Linux (Wayland/X11) with configurable keybindings.
{
  description = "miro-pdf";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
    systems.url = "github:nix-systems/default";
    flake-utils = {
      url = "github:numtide/flake-utils";
      inputs.systems.follows = "systems";
    };
    crane.url = "github:ipetkov/crane";
  };

  outputs = {
    self,
    nixpkgs,
    flake-utils,
    crane,
    ...
  }:
    flake-utils.lib.eachDefaultSystem (
      system: let
        pkgs = nixpkgs.legacyPackages.${system};

        craneLib = crane.mkLib pkgs;
      in {
        formatter = pkgs.alejandra;

        packages.default = pkgs.callPackage ./nix/package.nix {inherit craneLib;};

        devShell = craneLib.devShell {
          packages = with pkgs; [rust-analyzer];
        };
      }
    )
    // {
      homeModules.default = import ./nix/module.nix self.packages;
    };
}