Merge pull request #36631 from htr/htr-nixnote2-improvements

nixnote2: fix icon and version
This commit is contained in:
Jörg Thalheim 2018-03-09 19:45:25 +00:00 committed by GitHub
commit a724fcc865
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";