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
839 B
Nix
Raw Normal View History

2022-05-15 22:57:03 +01:00
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "ferium";
2022-07-07 12:33:07 +01:00
version = "4.1.5";
2022-05-15 22:57:03 +01:00
src = fetchFromGitHub {
owner = "gorilla-devs";
repo = pname;
rev = "v${version}";
2022-07-07 12:33:07 +01:00
sha256 = "sha256-NxrV8mi7xsr+x9oOp78DkHoPls0JLm5eol/8q9NwuTs=";
2022-05-15 22:57:03 +01:00
};
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
2022-07-07 12:33:07 +01:00
cargoSha256 = "sha256-hR2PKQqSvtSBOOhZKW2IsGGjuU4jCdLMeruAHxErQtU=";
2022-05-15 22:57:03 +01:00
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 ];
};
}