Merge pull request from nico202/qnotero-fix

qnotero: fix 
This commit is contained in:
Benno Fünfstück 2017-03-07 16:50:21 +01:00 committed by GitHub
commit 264b69c973
1 changed files with 2 additions and 7 deletions
pkgs/applications/office/qnotero

View File

@ -18,17 +18,12 @@ python3Packages.buildPythonPackage rec {
patchPhase = '' patchPhase = ''
substituteInPlace ./setup.py \ substituteInPlace ./setup.py \
--replace "/usr/share" "$out/usr/share" --replace "/usr/share" "usr/share"
substituteInPlace ./libqnotero/_themes/default.py \ substituteInPlace ./libqnotero/_themes/default.py \
--replace "/usr/share" "$out/usr/share" --replace "/usr/share" "$out/usr/share"
''; '';
postInstall = ''
mkdir -p "$out/usr/share/qnotero"
mv resources "$out/usr/share/qnotero"
'';
meta = { meta = {
description = "Quick access to Zotero references"; description = "Quick access to Zotero references";
homepage = http://www.cogsci.nl/software/qnotero; homepage = http://www.cogsci.nl/software/qnotero;