nixnote2: fix icon and version

This commit is contained in:
Hugo Tavares Reis 2018-03-09 12:47:50 +01:00
parent 2d2208eb9d
commit 6e5cd9cbfb

View File

@ -24,8 +24,14 @@ mkDerivation rec {
--replace '#include <poppler-qt5.h>' '#include <poppler/qt5/poppler-qt5.h>'
done
substituteInPlace help/about.html --replace '__VERSION__' '${version}'
substituteInPlace nixnote.cpp --replace 'tidyProcess.start("tidy' 'tidyProcess.start("${html-tidy}/bin/tidy'
'';
postInstal = ''
cp images/windowIcon.png $out/share/pixmaps/nixnote2.png
'';
meta = with stdenv.lib; {
description = "An unofficial client of Evernote";