Skip to content

Commit

Permalink
modrinth-app: 0.8.9 -> 0.9.0
Browse files Browse the repository at this point in the history
Diff: modrinth/code@refs/tags/v0.8.9...v0.9.0
(cherry picked from commit 04e4b6a)
  • Loading branch information
getchoo authored and github-actions[bot] committed Dec 24, 2024
1 parent ba32742 commit a89419c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
16 changes: 11 additions & 5 deletions pkgs/by-name/mo/modrinth-app-unwrapped/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ in

rustPlatform.buildRustPackage rec {
pname = "modrinth-app-unwrapped";
version = "0.8.9";
version = "0.9.0";

src = fetchFromGitHub {
owner = "modrinth";
repo = "code";
rev = "refs/tags/v${version}";
hash = "sha256-DR1aPbSqAVhL/m/Maa3mPzNWwK4A1WvDd/PwEMVYn5g=";
tag = "v${version}";
hash = "sha256-uDG+WHeMY/quzF8mHBn5o8xod4/G5+S4/zD2lbqdN0M=";
};

useFetchCargoVendor = true;
cargoHash = "sha256-cIJooOuAmDieikpm7W78rjTjxO1c+Sk005Y/VN/cqRg=";
cargoHash = "sha256-D9hkdliyKc8m9i2D9pG3keGmZsx+rzrgVXZws9Ot24I=";

pnpmDeps = pnpm.fetchDeps {
inherit pname version src;
hash = "sha256-murZ82LV2pGng/Cg08NoWr/mDIVECrf00utVrs6PKRg=";
hash = "sha256-nFuPFgwJw38XVxhW0QXmU31o+hqJKGJysnPg2YSg2D0=";
};

nativeBuildInputs = [
Expand All @@ -53,6 +53,12 @@ rustPlatform.buildRustPackage rec {
++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11
++ lib.optional stdenv.hostPlatform.isLinux webkitgtk_4_1;

# Tests fail on other, unrelated packages in the monorepo
cargoTestFlags = [
"--package"
"theseus_gui"
];

env = {
TURBO_BINARY_PATH = lib.getExe turbo;
};
Expand Down
3 changes: 1 addition & 2 deletions pkgs/by-name/mo/modrinth-app/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
xorg,
}:

symlinkJoin rec {
name = "${pname}-${version}";
symlinkJoin {
pname = "modrinth-app";
inherit (modrinth-app-unwrapped) version;

Expand Down

0 comments on commit a89419c

Please sign in to comment.