{ description = "Self-hosted F-Droid repo fed from Forgejo releases"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; outputs = { self, nixpkgs }: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; in { # Everything the repo needs server-side; see module.nix for the options # and README.md for how bucur consumes this. nixosModules.default = import ./module.nix; # The app list, exposed so the serving host can read or extend it # without importing the whole module. lib.apps = import ./apps.nix; devShells.${system}.default = pkgs.mkShell { # jdk: fdroidserver bundles apksigner but shells out to keytool, jar # and jarsigner to build and sign the index. # androguard: the sync script reads a launcher icon out of an APK when # the app ships no fastlane icon. packages = [ pkgs.fdroidserver pkgs.jdk (pkgs.python3.withPackages (ps: [ ps.androguard ])) pkgs.jq ]; }; }; }