summary refs log tree commit diff
path: root/pkgs/applications/office/zotero/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/office/zotero/default.nix')
-rw-r--r--pkgs/applications/office/zotero/default.nix22
1 files changed, 6 insertions, 16 deletions
diff --git a/pkgs/applications/office/zotero/default.nix b/pkgs/applications/office/zotero/default.nix
index 5939478d695..5a21754b44e 100644
--- a/pkgs/applications/office/zotero/default.nix
+++ b/pkgs/applications/office/zotero/default.nix
@@ -1,21 +1,13 @@
-{ stdenv, fetchurl, fetchpatch, bash, firefox, perl, unzipNLS, xorg }:
+{ stdenv, fetchurl, bash, firefox, perl, unzipNLS, xorg }:
 
 let
 
   xpi = fetchurl {
     url = "https://download.zotero.org/extension/zotero-${version}.xpi";
-    sha256 = "02h2ja08v8as4fawj683rh5rmxsjf5d0qmvqa77i176nm20y5s7s";
+    sha256 = "1dyf578yfj3xr9kkhmsvbkvraw2arghmh67ksi5c8qlxczx5i1xy";
   };
 
-  firefox' = stdenv.lib.overrideDerivation (firefox) (attrs: {
-    patches = [ (fetchpatch {
-      url = "https://hg.mozilla.org/releases/mozilla-beta/raw-rev/0558da46f20c";
-      sha256 = "08ibp7hny78x8ywfvrh56z90kf8fjpf04mibdlrwkw4f1vgm3fc3";
-      name = "fix-external-xpi-loader";
-    }) ];
-  });
-
-  version = "4.0.28";
+  version = "4.0.29";
 
 in
 stdenv.mkDerivation {
@@ -23,15 +15,13 @@ stdenv.mkDerivation {
   inherit version;
 
   src = fetchurl {
-    url = "https://github.com/zotero/zotero-standalone-build/archive/4.0.28.8.tar.gz";
-    sha256 = "ab1fd5dde9bd2a6b6d31cc9a53183a04de3698f1273a943ef31ecc4c42808a68";
+    url = "https://github.com/zotero/zotero-standalone-build/archive/4.0.29.2.tar.gz";
+    sha256 = "0pfip6s5dawp7wp8r5czvzlnxvvdwjja64g71h9dxyxrh49v2mxa";
   };
 
   nativeBuildInputs = [ perl unzipNLS ];
 
-  inherit bash;
-
-  firefox = firefox';
+  inherit bash firefox;
 
   phases = "unpackPhase installPhase fixupPhase";