about summary refs log tree commit diff
path: root/pkgs/games/ferium/default.nix
blob: b542ae3451e740e567ed1f9e4444e8edd73a9850 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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 ];
  };
}