mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
deadlock-mod-manager: 0.18.0 -> 1.0.0 (#527745)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
rustPlatform,
|
||||
cargo-tauri,
|
||||
nodejs,
|
||||
pnpm_9,
|
||||
pnpm_11,
|
||||
fetchPnpmDeps,
|
||||
pnpmConfigHook,
|
||||
pkg-config,
|
||||
@@ -27,26 +27,26 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "deadlock-mod-manager";
|
||||
version = "0.18.0";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deadlock-mod-manager";
|
||||
repo = "deadlock-mod-manager";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-+64Y6BFwgQIQhmFzZXOeJ/IGFn+OXV58I/ZdARVFt4w=";
|
||||
hash = "sha256-tSOSjapAlAd63Xkc+MNFVKn1k4+AtW3w3GhicRTV9Pg=";
|
||||
};
|
||||
|
||||
cargoRoot = "apps/desktop";
|
||||
buildAndTestSubdir = finalAttrs.cargoRoot;
|
||||
|
||||
cargoHash = "sha256-6ljyPdobcoBaYyarc7Iin5N24y1YXPafrYAk2xvBtvY=";
|
||||
cargoHash = "sha256-x0lhn8nAV9xTgWbRAabJscATSCNpkKpzWvdnuZ4BEvw=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.cargoSetupHook
|
||||
cargo-tauri.hook
|
||||
nodejs
|
||||
pnpmConfigHook
|
||||
pnpm_9
|
||||
pnpm_11
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
];
|
||||
@@ -76,10 +76,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
version
|
||||
src
|
||||
;
|
||||
pnpm = pnpm_9;
|
||||
pnpm = pnpm_11;
|
||||
fetcherVersion = 3;
|
||||
sourceRoot = "source";
|
||||
hash = "sha256-6lMTvlkIeM9kkbFhHzS9jJsHk2bVZWZs6GPgn+X3Rss=";
|
||||
hash = "sha256-zl+ZrI21EnMBeMInKvEkUObiZ0OA5SJLJjnHwu/Dagc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -88,9 +88,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
env.VITE_API_URL = "https://api.deadlockmods.app";
|
||||
|
||||
# Skip tests that require network access
|
||||
checkFlags = [
|
||||
# Requires network access
|
||||
"--skip=download_manager::downloader::tests::test_download_file"
|
||||
# Asserts that set_steam_dir rejects a non-Steam directory, but steamlocate
|
||||
# 2.1.0's SteamDir::from_dir only checks that the path is a directory
|
||||
# (further validation is an upstream TODO), so this fails in any environment.
|
||||
"--skip=mod_manager::steam_manager::tests::set_steam_dir_rejects_invalid_directory"
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
|
||||
Reference in New Issue
Block a user