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

94 lines
2.3 KiB
Nix
Raw Normal View History

{ lib
, stdenv
2019-04-11 04:32:52 +00:00
, fetchFromGitHub
, fetchpatch
, nix-update-script
2019-04-11 04:32:52 +00:00
, cmake
, ninja
, vala
, pkg-config
2019-04-11 04:32:52 +00:00
, pantheon
, gtk3
, glib
, glib-networking
2019-04-11 04:32:52 +00:00
, libxml2
, webkitgtk
, clutter-gtk
, clutter-gst
, libunity
, libnotify
, sqlite
, gst_all_1
, json-glib
, libgee
, wrapGAppsHook
}:
2018-09-08 11:04:07 +00:00
stdenv.mkDerivation rec {
pname = "vocal";
version = "2.4.2";
2018-09-08 11:04:07 +00:00
src = fetchFromGitHub {
owner = "needle-and-thread";
repo = pname;
rev = version;
sha256 = "1c4n89rdl9r13kmmh2qymmy9sa6shjwai7df48k2kfn0pnzq5mad";
2018-09-08 11:04:07 +00:00
};
nativeBuildInputs = [
cmake
libxml2
ninja
vala
pkg-config
2018-09-08 11:04:07 +00:00
wrapGAppsHook
];
buildInputs = with gst_all_1; [
clutter-gst
clutter-gtk
2019-04-11 04:32:52 +00:00
glib
2018-09-08 11:04:07 +00:00
gst-plugins-base
gst-plugins-good
gstreamer
2019-04-11 04:32:52 +00:00
gtk3
2018-09-08 11:04:07 +00:00
json-glib
2019-04-11 04:32:52 +00:00
libgee
2018-09-08 11:04:07 +00:00
libnotify
libunity
2019-04-11 04:32:52 +00:00
pantheon.elementary-icon-theme
pantheon.granite
2018-09-08 11:04:07 +00:00
sqlite
webkitgtk
glib-networking
2018-09-08 11:04:07 +00:00
];
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=";
})
];
2019-12-22 23:19:30 +00:00
passthru = {
updateScript = nix-update-script {
2019-12-22 23:19:30 +00:00
attrPath = pname;
};
};
meta = with lib; {
2018-09-08 11:04:07 +00:00
description = "The 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 indepedent 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";
2018-09-08 11:04:07 +00:00
license = licenses.gpl3Plus;
2021-08-02 00:46:24 +00:00
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
2018-09-08 11:04:07 +00:00
platforms = platforms.linux;
mainProgram = "com.github.needleandthread.vocal";
2018-09-08 11:04:07 +00:00
};
}