10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
15 owner = "gorilla-devs";
18 hash = "sha256-eeQjezB6pRdnPADLgDLo8b+bUSP12gfBhFNt/uYCwHU=";
21 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ];
23 cargoHash = "sha256-yBi6zyljkYEIUvSH4nXMw8fjPnt4kjqiuZ/QLT5IbqQ=";
25 # Disable the GUI file picker so that GTK/XDG dependencies aren't used
26 buildNoDefaultFeatures = true;
28 # Requires an internet connection
31 nativeBuildInputs = [ installShellFiles ];
34 for shell in bash fish zsh; do
35 $out/bin/ferium complete $shell > ferium.$shell
36 installShellCompletion ferium.$shell
41 description = "Fast and multi-source CLI program for managing Minecraft mods and modpacks from Modrinth, CurseForge, and GitHub Releases";
42 mainProgram = "ferium";
43 homepage = "https://github.com/gorilla-devs/ferium";
44 license = licenses.mpl20;
45 maintainers = with maintainers; [ leo60228 soupglasses ];