about summary refs log tree commit diff
path: root/pkgs/by-name/lr/lrcget/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/lr/lrcget/package.nix')
-rw-r--r--pkgs/by-name/lr/lrcget/package.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/by-name/lr/lrcget/package.nix b/pkgs/by-name/lr/lrcget/package.nix
index 40da20efbcce..8b293a59ddc5 100644
--- a/pkgs/by-name/lr/lrcget/package.nix
+++ b/pkgs/by-name/lr/lrcget/package.nix
@@ -2,7 +2,7 @@
   dbus,
   openssl,
   gtk3,
-  webkitgtk,
+  webkitgtk_4_0,
   pkg-config,
   wrapGAppsHook3,
   fetchFromGitHub,
@@ -17,18 +17,18 @@
 }:
 rustPlatform.buildRustPackage rec {
   pname = "lrcget";
-  version = "0.4.0";
+  version = "0.5.0";
 
   src = fetchFromGitHub {
     owner = "tranxuanthang";
     repo = "lrcget";
     rev = "${version}";
-    hash = "sha256-OrmSaRKhGCl5sTirzICx8PBsQm23pYUBBtb07+P1ZbY=";
+    hash = "sha256-phsiVscbgQwMVWwVizb1n/6OlftQYWvkJ5+As5ITFrQ=";
   };
 
   sourceRoot = "${src.name}/src-tauri";
 
-  cargoHash = "sha256-V9+/sfCxeZJ39nOuMBv2YlkzewoS+N3kFyBGdIqkw/A=";
+  cargoHash = "sha256-mHti3KLjKe25qPLFf0ofzcM2wU4nvhiusIC4bpUdtiY=";
 
   frontend = buildNpmPackage {
     inherit version src;
@@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec {
     # To fix `npm ERR! Your cache folder contains root-owned files`
     makeCacheWritable = true;
 
-    npmDepsHash = "sha256-qQ5UMO3UuD6IvUveTRF35qTlGq5PMbxp1Q4UroDqVtk=";
+    npmDepsHash = "sha256-vjDj3b7GVZvM9ioVBp5JpRbWUa33EK6qFTDVgCZkGRA=";
 
     postBuild = ''
       cp -r dist/ $out
@@ -69,11 +69,11 @@ rustPlatform.buildRustPackage rec {
       openssl
       gtk3
     ]
-    ++ lib.optionals (!stdenv.isDarwin) [
-      webkitgtk
+    ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
+      webkitgtk_4_0
       alsa-lib
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       darwin.apple_sdk.frameworks.CoreAudio
       darwin.apple_sdk.frameworks.WebKit
     ];