Merge pull request #30802 from jtojnar/gpodder

gpodder: build XDG files
This commit is contained in:
Jörg Thalheim 2017-10-25 20:39:41 +01:00 committed by GitHub
commit b4c7d6b0b1

View File

@ -51,6 +51,13 @@ python2Packages.buildPythonApplication rec {
feedparser dbus-python mygpoclient pygtk eyeD3 podcastparser html5lib
] ++ stdenv.lib.optional ipodSupport libgpod;
preBuild = ''
make PREFIX="$out" \
share/applications/gpodder-url-handler.desktop \
share/applications/gpodder.desktop \
share/dbus-1/services/org.gpodder.service
'';
checkPhase = ''
LC_ALL=C python -m gpodder.unittests
'';