3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/ferium/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
825 B
Nix
Raw Normal View History

2022-05-15 22:57:03 +01:00
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "ferium";
version = "4.1.1";
src = fetchFromGitHub {
owner = "gorilla-devs";
repo = pname;
rev = "v${version}";
sha256 = "5DYdeK6JdA7oLBkjP3WkwLwlBitdf4Yt2dNP7P0INN0=";
};
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
cargoSha256 = "7rpxHfe+pWarPJ72WSXjgr63YctZ5+RrsEgmw7o66VI=";
buildNoDefaultFeatures = true; # by default pulls in GTK 3 just for its directory picker
doCheck = false; # requires internet
meta = with lib; {
description = "A CLI Minecraft mod manager for mods from Modrinth, CurseForge, and Github Releases";
homepage = "https://github.com/theRookieCoder/ferium";
license = licenses.mpl20;
maintainers = [ maintainers.leo60228 ];
};
}