nixpkgs/pkgs/applications/audio/gpodder/default.nix

52 lines
1.5 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pythonPackages, mygpoclient, intltool
, ipodSupport ? true, libgpod
, gnome3
}:
2014-07-20 20:12:05 +01:00
pythonPackages.buildPythonApplication rec {
name = "gpodder-${version}";
2014-07-20 20:12:05 +01:00
version = "3.9.0";
2014-07-20 20:12:05 +01:00
src = fetchurl {
url = "http://gpodder.org/src/${name}.tar.gz";
gpodder: 3.8.4 -> 3.9.0 Changes in 3.8.5 (without bug IDs): * vimeo: Fix vimeo feed discovery * vimeo: Allow both http and https URLs * youtube: Improve channel migration code * youtube: Fix cover art downloading * Make the YouTube key button link to the gPodder Wiki * Add pattern to YouTube feed URL list * CLI: Cleanup old downloads on CLI startup * Gtk UI: Fix model column data types * Device sync: Handle sync failure when no space left * model: Limit filenames to 120 characters for eCryptFS * rename_download: Add add_sortdate and add_podcast_title option * Remove the unused 'pipe' IPC module * Fix coverage usage * Use Travis CI for running basic sanity tests * Various small code improvements and fixes Release announcement for 3.8.5: http://blog.gpodder.org/2015/12/gpodder-385-casting-agents-and-cowgirls.html Changes in 3.9.0 (without bug IDs): * Added Korean translation * Device sync: Only fail if we can determine free disk space * Enqueue episodes after download * Ubuntu AppIndicator extension: 'visible' config option * gpodder.download: Ignore non-ASCII content-disposition header * Win32-launcher: Remove download feature (works around Norton warning) * Remove WebUI, QML UI and MeeGo 1.2 Harmattan support * Remove broken Flattr integration (use gpodder.net's Flattr support) * Redesign about dialog * Preferences: Move video services to separate tab * Vimeo: Fix Vimeo integration Release announcement for 3.9.0: http://blog.gpodder.org/2016/02/gpodder-390-helium-levitator-released.html Built and tested locally on my machine. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @svenkeidel
2016-02-15 12:36:34 +00:00
sha256 = "1ik954idi0ldnw0wrv7mm71smyb6x66332jxcaf1dxsl12ccm44l";
2014-07-20 20:12:05 +01:00
};
postPatch = with stdenv.lib; ''
sed -i -re 's,^( *gpodder_dir *= *).*,\1"'"$out"'",' bin/gpodder
makeWrapperArgs="--suffix XDG_DATA_DIRS : '${concatStringsSep ":" [
"${gnome3.gnome_themes_standard}/share"
"$XDG_ICON_DIRS"
"$GSETTINGS_SCHEMAS_PATH"
]}'"
'';
2014-08-07 16:49:16 +01:00
buildInputs = [
intltool pythonPackages.coverage pythonPackages.minimock
2015-05-19 12:37:44 +01:00
gnome3.gnome_themes_standard gnome3.defaultIconTheme
2014-11-17 20:00:03 +00:00
gnome3.gsettings_desktop_schemas
2014-08-07 16:49:16 +01:00
];
2014-07-20 20:12:05 +01:00
propagatedBuildInputs = with pythonPackages; [
feedparser dbus-python mygpoclient sqlite3 pygtk eyeD3
] ++ stdenv.lib.optional ipodSupport libgpod;
2014-07-20 20:12:05 +01:00
checkPhase = ''
LC_ALL=C python -m gpodder.unittests
2014-08-07 16:49:16 +01:00
'';
meta = {
description = "A podcatcher written in python";
longDescription = ''
gPodder downloads and manages free audio and video content (podcasts)
for you. Listen directly on your computer or on your mobile devices.
'';
homepage = "http://gpodder.org/";
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = [ stdenv.lib.maintainers.skeidel ];
};
2014-07-20 20:12:05 +01:00
}