about summary refs log tree commit diff
path: root/pkgs/applications/office/zotero/zotero_7.nix
diff options
context:
space:
mode:
authorhexclover <47456195+hexclover@users.noreply.github.com>2024-01-31 23:42:20 +0800
committerhexclover <47456195+hexclover@users.noreply.github.com>2024-03-03 13:23:33 +0800
commit9a0b1e129449a83ee0488f9ffca1ce452d16ebe3 (patch)
tree20f9ae5735f5a0ceb3700aa983bb3296ddaf96c3 /pkgs/applications/office/zotero/zotero_7.nix
parentc319ae74cb0db161972bad4409dd5a402b41cc65 (diff)
zotero_7: beta 51 -> beta 65
Diffstat (limited to 'pkgs/applications/office/zotero/zotero_7.nix')
-rw-r--r--pkgs/applications/office/zotero/zotero_7.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/office/zotero/zotero_7.nix b/pkgs/applications/office/zotero/zotero_7.nix
index 941581d22df02..0de12fb2fd140 100644
--- a/pkgs/applications/office/zotero/zotero_7.nix
+++ b/pkgs/applications/office/zotero/zotero_7.nix
@@ -47,8 +47,8 @@ stdenv.mkDerivation rec {
   version = "7.0.0-beta";
 
   src = fetchurl {
-    url = "https://download.zotero.org/client/beta/${version}.51%2B7c5600913/Zotero-${version}.51%2B7c5600913_linux-x86_64.tar.bz2";
-    hash = "sha256-zJ+jG7zlvWq+WEYOPyMIhqHPfsUe9tn0cbRyibQ7bFw=";
+    url = "https://download.zotero.org/client/beta/${version}.65%2Bb047f3d90/Zotero-${version}.65%2Bb047f3d90_linux-x86_64.tar.bz2";
+    hash = "sha256-e7T/hvb8bFb4hkouihBkgqUu4ugYoUMHNVKxh0r/WUM=";
   };
 
   nativeBuildInputs = [
@@ -125,10 +125,12 @@ stdenv.mkDerivation rec {
     # install desktop file and icons.
     mkdir -p $out/share/applications
     cp ${desktopItem}/share/applications/* $out/share/applications/
-    for size in 16 32 48 256; do
-      install -Dm444 chrome/icons/default/default$size.png \
+    for size in 32 64 128; do
+      install -Dm444 icons/icon$size.png \
         $out/share/icons/hicolor/''${size}x''${size}/apps/zotero.png
     done
+    install -Dm444 icons/symbolic.svg \
+        $out/share/icons/hicolor/symbolic/apps/zotero-symbolic.svg
 
     runHook postInstall
   '';