Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2019-08-27 16:36:47 +02:00
271 changed files with 5293 additions and 2782 deletions
+11 -8
View File
@@ -94,12 +94,9 @@ buildPythonApplication rec {
checkInputs = [ pytest glibcLocales nose ];
nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ];
buildInputs = [ lame mplayer libpulseaudio ];
makeWrapperArgs = [
''--prefix PATH ':' "${lame}/bin:${mplayer}/bin"''
];
patches = [
# Disable updated version check.
./no-version-check.patch
@@ -159,17 +156,23 @@ buildPythonApplication rec {
cp -rv locale $out/share/
cp -rv anki aqt web $pp/
wrapPythonPrograms
# copy the manual into $doc
cp -r ${manual}/share/doc/anki/html $doc/share/doc/anki
'';
dontWrapQtApps = true;
makeWrapperArgs = [
''--prefix PATH ':' "${lame}/bin:${mplayer}/bin"''
"\${qtWrapperArgs[@]}"
];
# now wrapPythonPrograms from postFixup will add both python and qt env variables
passthru = {
inherit manual;
};
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://apps.ankiweb.net/";
description = "Spaced repetition flashcard program";
longDescription = ''
@@ -187,6 +190,6 @@ buildPythonApplication rec {
license = licenses.agpl3Plus;
broken = stdenv.hostPlatform.isAarch64;
platforms = platforms.mesaPlatforms;
maintainers = with maintainers; [ the-kenny Profpatsch enzime ];
maintainers = with maintainers; [ oxij the-kenny Profpatsch enzime ];
};
}