modrinth-app: 0.7.1 -> 0.8.2

passthru.updateScript is removed to avoid accidental upgrades as
upstream now uses a monorepo and hasn't actually tagged anything new yet
This commit is contained in:
seth
2024-10-23 00:35:31 -04:00
parent c2fd5dfb85
commit 60806f2e78
3 changed files with 1175 additions and 1220 deletions
File diff suppressed because it is too large Load Diff
@@ -3,48 +3,48 @@
stdenv,
fetchFromGitHub,
rustPlatform,
buildGoModule,
cacert,
cargo-tauri,
darwin,
desktop-file-utils,
esbuild,
libsoup,
nix-update-script,
nodejs,
openssl,
pkg-config,
pnpm_8,
webkitgtk_4_0, }:
pnpm_9,
turbo,
webkitgtk_4_0,
}:
let
pnpm = pnpm_8;
pnpm = pnpm_9;
in
rustPlatform.buildRustPackage rec {
pname = "modrinth-app-unwrapped";
version = "0.7.1";
version = "0.8.2";
src = fetchFromGitHub {
owner = "modrinth";
repo = "code";
rev = "refs/tags/v${version}";
hash = "sha256-JWR0e2vOBvOLosr22Oo2mAlR0KAhL+261RRybhNctlM=";
rev = "a0bd011b808cdc998ef27960f610a8d99550c914";
hash = "sha256-zpFJq7if5gOx7jvwpE73lqH4Vpif0MJMPIGsgtThKVk=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"tauri-plugin-single-instance-0.0.0" = "sha256-Mf2/cnKotd751ZcSHfiSLNe2nxBfo4dMBdoCwQhe7yI=";
"sqlx-0.8.0-alpha.0" = "sha256-M1bumCMTzgDcQlgSYB6ypPp794e35ZSQCLzkbrFV4qY=";
"tauri-plugin-single-instance-0.0.0" = "sha256-DZWTO2/LevbQJCJbeHbTc2rhesV3bNrs+BoYm2eMakA=";
};
};
pnpmDeps = pnpm.fetchDeps {
inherit pname version src;
sourceRoot = "${src.name}/theseus_gui";
hash = "sha256-g/uUGfC9TQh0LE8ed51oFY17FySoeTvfaeEpzpNeMao=";
hash = "sha256-Ye9GHvkO+xZj87NIc1JLmhIJFqdkJMg7HvfTltx9krw=";
};
pnpmRoot = "theseus_gui";
nativeBuildInputs = [
cacert # required for turbo
cargo-tauri.hook
desktop-file-utils
nodejs
@@ -69,25 +69,7 @@ rustPlatform.buildRustPackage rec {
);
env = {
ESBUILD_BINARY_PATH = lib.getExe (
esbuild.override {
buildGoModule =
args:
buildGoModule (
args
// rec {
version = "0.20.2";
src = fetchFromGitHub {
owner = "evanw";
repo = "esbuild";
rev = "refs/tags/v${version}";
hash = "sha256-h/Vqwax4B4nehRP9TaYbdixAZdb1hx373dNxNHvDrtY=";
};
vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
}
);
}
);
TURBO_BINARY_PATH = lib.getExe turbo;
};
postInstall =
@@ -105,10 +87,6 @@ rustPlatform.buildRustPackage rec {
$out/share/applications/modrinth-app.desktop
'';
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Modrinth's game launcher";
longDescription = ''
@@ -116,7 +94,6 @@ rustPlatform.buildRustPackage rec {
and keep them up to date, all in one neat little package
'';
homepage = "https://modrinth.com";
changelog = "https://github.com/modrinth/theseus/releases/tag/v${version}";
license = with lib.licenses; [
gpl3Plus
unfreeRedistributable
-1
View File
@@ -75,7 +75,6 @@ symlinkJoin rec {
description
longDescription
homepage
changelog
license
maintainers
mainProgram