summaryrefslogtreecommitdiffstats
path: root/pkgs/games/ferium
diff options
context:
space:
mode:
authorleo60228 <leo@60228.dev>2022-05-15 17:57:03 -0400
committerYt <happysalada@proton.me>2022-06-25 15:55:40 -0400
commit7d1a3b110f63b84da50b41776739e48b1d066c1a (patch)
treeeea684a18ff4a3bb90e9594b87d857ebe74040e1 /pkgs/games/ferium
parentfc658c86f70e45d238c404e0686cf4ed905b8382 (diff)
ferium: init at 4.1.1
Diffstat (limited to 'pkgs/games/ferium')
-rw-r--r--pkgs/games/ferium/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/games/ferium/default.nix b/pkgs/games/ferium/default.nix
new file mode 100644
index 000000000000..b542ae3451e7
--- /dev/null
+++ b/pkgs/games/ferium/default.nix
@@ -0,0 +1,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 ];
+ };
+}