diff --git a/hosts/common/programs/gpodder.nix b/hosts/common/programs/gpodder.nix index 77341809e..cb128bd2e 100644 --- a/hosts/common/programs/gpodder.nix +++ b/hosts/common/programs/gpodder.nix @@ -7,7 +7,8 @@ let wanted-feeds = feeds.filterByFormat ["podcast"] all-feeds; in { sane.programs.gpodder = { - package = pkgs.gpodder-configured; + package = pkgs.gpodder-adaptive-configured; + # package = pkgs.gpodder-configured; fs.".config/gpodderFeeds.opml".symlink.text = feeds.feedsToOpml wanted-feeds; # XXX: we preserve the whole thing because if we only preserve gPodder/Downloads diff --git a/pkgs/additional/gpodder-adaptive/default.nix b/pkgs/additional/gpodder-adaptive/default.nix new file mode 100644 index 000000000..a95ab5a6a --- /dev/null +++ b/pkgs/additional/gpodder-adaptive/default.nix @@ -0,0 +1,18 @@ +{ gpodder +, fetchFromGitHub +, libhandy +}: +gpodder.overrideAttrs (upstream: rec { + pname = "gpodder-adaptive"; + version = "3.11.1+1"; + src = fetchFromGitHub { + owner = "gpodder"; + repo = "gpodder"; + rev = "adaptive/${version}"; + hash = "sha256-pn5sh8CLV2Civ26PL3rrkkUdoobu7SIHXmWKCZucBhw="; + }; + + buildInputs = upstream.buildInputs ++ [ + libhandy + ]; +}) diff --git a/pkgs/default.nix b/pkgs/default.nix index 1026887bd..44dc11bbf 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -27,6 +27,10 @@ let feeds = lib.recurseIntoAttrs (callPackage ./additional/feeds { }); jellyfin-media-player-qt6 = callPackage ./additional/jellyfin-media-player-qt6 { }; gopass-native-messaging-host = callPackage ./additional/gopass-native-messaging-host { }; + gpodder-adaptive = callPackage ./additional/gpodder-adaptive { }; + gpodder-adaptive-configured = callPackage ./additional/gpodder-configured { + gpodder = final.gpodder-adaptive; + }; gpodder-configured = callPackage ./additional/gpodder-configured { }; hare-ev = unpatched.hare-ev or (callPackage ./additional/hare-ev { }); hare-json = unpatched.hare-json or (callPackage ./additional/hare-json { });