vocal: drop (#398146)

This commit is contained in:
Bobby Rong 2025-04-13 09:48:54 +08:00 committed by GitHub
commit 793eef6168
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 98 deletions

View File

@ -59,6 +59,8 @@
- The `ephemeral` package was removed due to upstream archival in early 2022.
- The `vocal` package was removed due to upstream archival. The upstream developer suggests using `gnome-podcasts` or `kasts` instead.
- [testers.shellcheck](https://nixos.org/manual/nixpkgs/unstable/#tester-shellcheck) now warns when `name` is not provided.
The `name` argument will become mandatory in a future release.

View File

@ -1,98 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
nix-update-script,
cmake,
ninja,
vala,
pkg-config,
pantheon,
gtk3,
glib,
glib-networking,
libxml2,
webkitgtk_4_0,
clutter-gtk,
clutter-gst,
libunity,
libnotify,
sqlite,
gst_all_1,
json-glib,
libgee,
wrapGAppsHook3,
}:
stdenv.mkDerivation rec {
pname = "vocal";
version = "2.4.2";
src = fetchFromGitHub {
owner = "needle-and-thread";
repo = pname;
rev = version;
sha256 = "1c4n89rdl9r13kmmh2qymmy9sa6shjwai7df48k2kfn0pnzq5mad";
};
nativeBuildInputs = [
cmake
libxml2
ninja
vala
pkg-config
wrapGAppsHook3
];
buildInputs = with gst_all_1; [
clutter-gst
clutter-gtk
glib
gst-plugins-base
gst-plugins-good
gstreamer
gtk3
json-glib
libgee
libnotify
libunity
pantheon.granite
sqlite
webkitgtk_4_0
glib-networking
];
patches = [
# granite 6.0.0 removed about dialogs
# see: https://github.com/needle-and-thread/vocal/issues/483
(fetchpatch {
name = "remove-about.patch";
url = "https://raw.githubusercontent.com/archlinux/svntogit-community/03543ffdb6cd52ce1a8293f3303225b3afac2431/trunk/remove-about.patch";
sha256 = "sha256-yGD7BYOTmqs4h+Odh/mB3fI1HM7GDO6F+QaHpRUD5p4=";
})
];
postPatch = ''
# Fix build with vala 0.56
# https://github.com/needle-and-thread/vocal/pull/503
substituteInPlace src/Vocal.vala \
--replace "public const OptionEntry[] app_options" "private const OptionEntry[] app_options"
'';
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Podcast client for the modern free desktop";
longDescription = ''
Vocal is a powerful, fast, and intuitive application that helps users find new podcasts, manage their libraries, and enjoy the best that independent audio and video publishing has to offer. Vocal features full support for both episode downloading and streaming, native system integration, iTunes store search and top 100 charts (with international results support), iTunes link parsing, OPML importing and exporting, and so much more. Plus, it has great smart features like automatically keeping your library clean from old files, and the ability to set custom skip intervals.
'';
homepage = "https://github.com/needle-and-thread/vocal";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
platforms = platforms.linux;
mainProgram = "com.github.needleandthread.vocal";
};
}

View File

@ -1812,6 +1812,7 @@ mapAliases {
vistafonts-cht = vista-fonts-cht; # Added 2025-02-03
vkBasalt = vkbasalt; # Added 2022-11-22
vkdt-wayland = vkdt; # Added 2024-04-19
vocal = throw "'vocal' has been archived upstream. Consider using 'gnome-podcasts' or 'kasts' instead."; # Added 2025-04-12
void = throw "'void' has been removed due to lack of upstream maintenance"; # Added 2025-01-25
volnoti = throw "'volnoti' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
vuze = throw "'vuze' was removed because it is unmaintained upstream and insecure (CVE-2018-13417). BiglyBT is a maintained fork."; # Added 2024-11-22