vencord: 1.4.5 -> 1.4.6

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-09-06 08:32:16 +02:00
parent 6485865ec3
commit 42c980d37e
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951
2 changed files with 5 additions and 24 deletions

View File

@ -1,14 +1,13 @@
{ buildNpmPackage
, fetchFromGitHub
, fetchpatch2
, lib
, esbuild
, buildGoModule
, buildWebExtension ? false
}:
let
version = "1.4.5";
gitHash = "98a03c8";
version = "1.4.6";
gitHash = "9b987d1";
in
buildNpmPackage rec {
pname = "vencord";
@ -18,7 +17,7 @@ buildNpmPackage rec {
owner = "Vendicated";
repo = "Vencord";
rev = "v${version}";
sha256 = "sha256-ZoHOCl0j+RBSl2lL9wO2rJ8VR+GNIeWJYe65c3lVoz8=";
sha256 = "sha256-LVFCf2BdTdl4t+Fp2oM7jAskzGx/fhSr6tNcaZ1X8xA=";
};
ESBUILD_BINARY_PATH = lib.getExe (esbuild.override {
@ -37,7 +36,7 @@ buildNpmPackage rec {
# Supresses an error about esbuild's version.
npmRebuildFlags = [ "|| true" ];
npmDepsHash = "sha256-51IK95QY9YX0WerGu4GuOrYKoj8Uoo0R1b6WZpC5v4U=";
npmDepsHash = "sha256-GoVVOLg20oi0MJGLqevpiqHDM/7yaRJSQnM/tt+AkQ8=";
npmFlags = [ "--legacy-peer-deps" ];
npmBuildScript = if buildWebExtension then "buildWeb" else "build";
npmBuildFlags = [ "--" "--standalone" "--disable-updater" ];
@ -46,24 +45,6 @@ buildNpmPackage rec {
cp ${./package-lock.json} ./package-lock.json
'';
patches = [
(fetchpatch2 {
name = "allow-git-hash-remote-preset.patch";
url = "https://github.com/Vendicated/Vencord/commit/d9f55664428007199348123b05818f9e08c4f64d.patch";
hash = "sha256-l4PP8nVtyQJYUqtU9xYGT4j1Oayy08DE6TfbwPun0pY=";
})
(fetchpatch2 {
name = "use-source-date-epoch.patch";
url = "https://github.com/Vendicated/Vencord/commit/28247c88a949eeaac75b13a8d6653164d9659f56.patch";
hash = "sha256-mMpsB3GkI9LUiMQ/NFOiRw4z+wVkktmWgUHNTgxUFPU=";
})
(fetchpatch2 {
name = "allow-disabling-updater.patch";
url = "https://github.com/Vendicated/Vencord/commit/bad1fa0c766b2d42cd2eb0e0d1ab2e0c381bab98.patch";
hash = "sha256-yp453kFvVC02QEB3Op8PfopnLt3xGkjp4WfP6kPeIJ0=";
})
];
VENCORD_HASH = gitHash;
VENCORD_REMOTE = "${src.owner}/${src.repo}";

View File

@ -1,6 +1,6 @@
{
"name": "vencord",
"version": "1.4.5",
"version": "1.4.6",
"lockfileVersion": 3,
"requires": true,
"packages": {