Merge pull request #182275 from imsofi/upd/ferium/4.1.8

ferium: 4.1.5 -> 4.1.8

authored by winter.bsky.social and committed by GitHub dc13622e 28e8645e

+14 -5
+14 -5
pkgs/games/ferium/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, rustPlatform, Security }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "ferium"; 5 - version = "4.1.5"; 6 7 src = fetchFromGitHub { 8 owner = "gorilla-devs"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-NxrV8mi7xsr+x9oOp78DkHoPls0JLm5eol/8q9NwuTs="; 12 }; 13 14 buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 15 16 - cargoSha256 = "sha256-hR2PKQqSvtSBOOhZKW2IsGGjuU4jCdLMeruAHxErQtU="; 17 18 # Disable the GUI file picker so that GTK/XDG dependencies aren't used 19 buildNoDefaultFeatures = true; ··· 21 # Requires an internet connection 22 doCheck = false; 23 24 meta = with lib; { 25 description = "Fast and multi-source CLI program for managing Minecraft mods and modpacks from Modrinth, CurseForge, and GitHub Releases"; 26 homepage = "https://github.com/gorilla-devs/ferium"; 27 license = licenses.mpl20; 28 - maintainers = [ maintainers.leo60228 ]; 29 }; 30 }
··· 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, Security, installShellFiles }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "ferium"; 5 + version = "4.1.8"; 6 7 src = fetchFromGitHub { 8 owner = "gorilla-devs"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-lbzLM/KgknFEaJPs1x92IOJD9MILairCV0qgc/Faooo="; 12 }; 13 14 buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 15 16 + cargoSha256 = "sha256-Ra56Go2yReKcEK/rzt07CRekiWUIIDtx+tndw+Txvz4="; 17 18 # Disable the GUI file picker so that GTK/XDG dependencies aren't used 19 buildNoDefaultFeatures = true; ··· 21 # Requires an internet connection 22 doCheck = false; 23 24 + nativeBuildInputs = [ installShellFiles ]; 25 + 26 + postInstall = '' 27 + for shell in bash fish zsh; do 28 + $out/bin/ferium complete $shell > ferium.$shell 29 + installShellCompletion ferium.$shell 30 + done 31 + ''; 32 + 33 meta = with lib; { 34 description = "Fast and multi-source CLI program for managing Minecraft mods and modpacks from Modrinth, CurseForge, and GitHub Releases"; 35 homepage = "https://github.com/gorilla-devs/ferium"; 36 license = licenses.mpl20; 37 + maintainers = with maintainers; [ leo60228 imsofi ]; 38 }; 39 }