{ description = "Projects packaged by 4o1x5"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; crane.url = "github:ipetkov/crane"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, crane, flake-utils, ... }: flake-utils.lib.eachDefaultSystem ( system: let pkgs = nixpkgs.legacyPackages.${system}; craneLib = crane.mkLib pkgs; in { packages = { jellyfin-tui = import ./packages/jellyfin-tui.nix { inherit pkgs craneLib; }; }; apps = { jellyfin-tui = { type = "app"; program = "${self.packages.${system}.jellyfin-tui}/bin/jellyfin-tui"; }; }; } ); }