mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
vesktop: 1.6.5 -> 1.6.5-unstable-2026-07-16
Updates to a pre-release version which explicitly supports Electron 43 and pnpm 11. Diff: https://github.com/Vencord/Vesktop/compare/v1.6.5...8a718e00785f1e17153e49c2d7ffae094e5cecef
This commit is contained in:
@@ -8,12 +8,12 @@
|
||||
makeDesktopItem,
|
||||
copyDesktopItems,
|
||||
vencord,
|
||||
electron_42,
|
||||
electron_43,
|
||||
libicns,
|
||||
pipewire,
|
||||
libpulseaudio,
|
||||
autoPatchelfHook,
|
||||
pnpm_10,
|
||||
pnpm_11,
|
||||
fetchPnpmDeps,
|
||||
pnpmConfigHook,
|
||||
nodejs,
|
||||
@@ -26,17 +26,17 @@
|
||||
withSystemVencord ? false,
|
||||
}:
|
||||
let
|
||||
electron = electron_42;
|
||||
electron = electron_43;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "vesktop";
|
||||
version = "1.6.5";
|
||||
version = "1.6.5-unstable-2026-07-16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Vencord";
|
||||
repo = "Vesktop";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-YPDlqiO+0BtDgC7aFl8B2KPYsT41WqzOQ7et2Tejs3M=";
|
||||
rev = "8a718e00785f1e17153e49c2d7ffae094e5cecef";
|
||||
hash = "sha256-0t/1GIknc6NBW2E+BNZ/NTU+38IMVxEtOEXOwHkZrGo=";
|
||||
};
|
||||
|
||||
pnpmDeps = fetchPnpmDeps {
|
||||
@@ -46,15 +46,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
src
|
||||
patches
|
||||
;
|
||||
pnpm = pnpm_10;
|
||||
fetcherVersion = 3;
|
||||
hash = "sha256-Ue1K1KmRi4gF7E519deVY7QH+22dqlECMjdA7Z7qDCA=";
|
||||
pnpm = pnpm_11;
|
||||
fetcherVersion = 4;
|
||||
hash = "sha256-xvb3DfqmcCyOpGHaGjeCJxClfVcHpdezyzxLXNiz72k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
pnpmConfigHook
|
||||
pnpm_10
|
||||
pnpm_11
|
||||
jq
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
@@ -91,8 +91,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# Validate electron version matches upstream package.json
|
||||
expectedMajor="$(jq -r '.devDependencies.electron | ltrimstr("^") | split(".") | .[0]' < package.json)"
|
||||
actualMajor="${lib.versions.major electron.version}"
|
||||
if [ "$actualMajor" -lt "$expectedMajor" ] 2>/dev/null; then
|
||||
echo "ERROR: nixpkgs electron version (major $actualMajor) is older than upstream package.json requirement (major $expectedMajor)"
|
||||
if [ "$actualMajor" != "$expectedMajor" ] 2>/dev/null; then
|
||||
echo "ERROR: electron version mismatch between package.json (major $expectedMajor) and nixpkgs (major $actualMajor)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user