zotero: 5.0.96.3 -> 6.0
This commit is contained in:
parent
976a5bc9ff
commit
47a80b3d36
1 changed files with 46 additions and 40 deletions
|
@ -1,4 +1,8 @@
|
|||
{ lib, stdenv, fetchurl, wrapGAppsHook, makeDesktopItem
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, wrapGAppsHook
|
||||
, makeDesktopItem
|
||||
, atk
|
||||
, cairo
|
||||
, coreutils
|
||||
|
@ -27,7 +31,8 @@
|
|||
, libXt
|
||||
, libnotify
|
||||
, gnome
|
||||
, libGLU, libGL
|
||||
, libGLU
|
||||
, libGL
|
||||
, nspr
|
||||
, nss
|
||||
, pango
|
||||
|
@ -36,23 +41,25 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zotero";
|
||||
version = "5.0.96.3";
|
||||
version = "6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.zotero.org/client/release/${version}/Zotero-${version}_linux-x86_64.tar.bz2";
|
||||
sha256 = "sha256-eqSNzmkGNopGJ7VByvUffFEPJz3WHS7b5+jgUAW/hU4=";
|
||||
url =
|
||||
"https://download.zotero.org/client/release/${version}/Zotero-${version}_linux-x86_64.tar.bz2";
|
||||
sha256 = "0zkgmmflcj6vbyv8rs51jf3vx1zq8pl7b5d5asgayhrdlwi0qgff";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wrapGAppsHook ];
|
||||
buildInputs= [ gsettings-desktop-schemas glib gtk3 gnome.adwaita-icon-theme dconf ];
|
||||
buildInputs =
|
||||
[ gsettings-desktop-schemas glib gtk3 gnome.adwaita-icon-theme dconf ];
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
|
||||
libPath = lib.makeLibraryPath
|
||||
[ stdenv.cc.cc
|
||||
libPath = lib.makeLibraryPath [
|
||||
stdenv.cc.cc
|
||||
atk
|
||||
cairo
|
||||
curl
|
||||
|
@ -78,13 +85,12 @@ stdenv.mkDerivation rec {
|
|||
libXrender
|
||||
libXt
|
||||
libnotify
|
||||
libGLU libGL
|
||||
libGLU
|
||||
libGL
|
||||
nspr
|
||||
nss
|
||||
pango
|
||||
] + ":" + lib.makeSearchPathOutput "lib" "lib64" [
|
||||
stdenv.cc.cc
|
||||
];
|
||||
] + ":" + lib.makeSearchPathOutput "lib" "lib64" [ stdenv.cc.cc ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/pref("app.update.enabled", true);/c\pref("app.update.enabled", false);' defaults/preferences/prefs.js
|
||||
|
|
Loading…
Reference in a new issue