From 65d98a731911414a69d52319aca74b2fb2b14d1d Mon Sep 17 00:00:00 2001 From: "Winston R. Milling" Date: Sun, 20 Oct 2024 20:19:48 -0500 Subject: [PATCH 1/2] legcord: 1.0.1 -> 1.0.2 https://github.com/Legcord/Legcord/releases/tag/v1.0.2 --- pkgs/by-name/le/legcord/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/le/legcord/package.nix b/pkgs/by-name/le/legcord/package.nix index b980a418cbe0..2d578d085f9e 100644 --- a/pkgs/by-name/le/legcord/package.nix +++ b/pkgs/by-name/le/legcord/package.nix @@ -10,20 +10,20 @@ }: stdenv.mkDerivation rec { pname = "legcord"; - version = "1.0.1"; + version = "1.0.2"; src = fetchFromGitHub { owner = "Legcord"; repo = "Legcord"; rev = "v${version}"; - hash = "sha256-R2mtE3L2cJgmbWT0aMoDbnM5tiyPk+dnPBedq8ro1lY="; + hash = "sha256-YmNRkNN7lWHMbUiGOxPa9b+TaLybj1XE7AonCnB88KY="; }; nativeBuildInputs = [ pnpm.configHook nodejs makeWrapper copyDesktopItems ]; pnpmDeps = pnpm.fetchDeps { inherit pname version src; - hash = "sha256-73v8xkidY9IBUFz/M0BYEVGnoVsr3uh3jP0p6T8QBbA="; + hash = "sha256-ZPTp6l7qtvgsYPY6FZvhuYxD8TdkBkaQO2SG1fQzU7s="; }; ELECTRON_SKIP_BINARY_DOWNLOAD = "1"; From 6ade66eec3f373c9c994d8e2d2454f9e13199b82 Mon Sep 17 00:00:00 2001 From: "Winston R. Milling" Date: Sun, 20 Oct 2024 20:20:33 -0500 Subject: [PATCH 2/2] legcord: add updateScript --- pkgs/by-name/le/legcord/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/le/legcord/package.nix b/pkgs/by-name/le/legcord/package.nix index 2d578d085f9e..3f2bb86fd965 100644 --- a/pkgs/by-name/le/legcord/package.nix +++ b/pkgs/by-name/le/legcord/package.nix @@ -7,6 +7,7 @@ , makeWrapper , copyDesktopItems , makeDesktopItem +, nix-update-script }: stdenv.mkDerivation rec { pname = "legcord"; @@ -72,6 +73,8 @@ stdenv.mkDerivation rec { }) ]; + passthru.updateScript = nix-update-script { }; + meta = with lib; { description = "Lightweight, alternative desktop client for Discord"; homepage = "https://legcord.app";