qnotero: fix #23438

This commit is contained in:
Nicolò Balzarotti 2017-03-03 13:39:52 +01:00
parent ac592121b9
commit cb3bfc9717

View File

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