qnotero: 1.0.0 -> 2.1.1 (#74560)

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
This commit is contained in:
pasqui23 2020-02-09 06:40:09 +00:00 committed by GitHub
parent 5d8a09533d
commit f9735f05ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 12 deletions

View File

@ -1,29 +1,31 @@
{ stdenv, fetchFromGitHub, python3Packages
}:
{ stdenv, fetchFromGitHub, python3Packages, wrapQtAppsHook }:
python3Packages.buildPythonPackage rec {
name = "qnotero-${version}";
pname = "qnotero";
version = "1.0.0";
version = "2.1.1";
src = fetchFromGitHub {
owner = "smathot";
repo = "qnotero";
rev = "release/${version}";
name = "qnotero-${version}-src";
sha256 = "1d5a9k1llzn9q1qv1bfwc7gfflabh4riplz9jj0hf04b279y1bj0";
owner = "ealbiter";
repo = pname;
rev = "v${version}";
sha256 = "16ckcjxa3dgmz1y8gd57q2h84akra3j4bgl4fwv4m05bam3ml1xs";
};
propagatedBuildInputs = [ python3Packages.pyqt4 ];
propagatedBuildInputs = [ python3Packages.pyqt5 wrapQtAppsHook ];
patchPhase = ''
substituteInPlace ./setup.py \
--replace "/usr/share" "usr/share"
substituteInPlace ./libqnotero/_themes/default.py \
substituteInPlace ./libqnotero/_themes/light.py \
--replace "/usr/share" "$out/usr/share"
'';
preFixup = ''
wrapQtApp "$out"/bin/qnotero
'';
meta = {
description = "Quick access to Zotero references";
homepage = http://www.cogsci.nl/software/qnotero;

View File

@ -21040,7 +21040,7 @@ in
qmmp = libsForQt5.callPackage ../applications/audio/qmmp { };
qnotero = callPackage ../applications/office/qnotero { };
qnotero = libsForQt5.callPackage ../applications/office/qnotero { };
qrcode = callPackage ../tools/graphics/qrcode {};