2021-03-15 08:37:03 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitLab
|
2023-05-24 13:37:59 +00:00
|
|
|
, cargo
|
2020-04-24 23:36:52 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gettext
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2023-05-24 13:37:59 +00:00
|
|
|
, rustc
|
2020-04-24 23:36:52 +00:00
|
|
|
, glib
|
2023-08-04 22:07:22 +00:00
|
|
|
, gtk4
|
|
|
|
, libadwaita
|
2021-05-20 23:08:51 +00:00
|
|
|
, appstream-glib
|
|
|
|
, desktop-file-utils
|
2020-04-24 23:36:52 +00:00
|
|
|
, dbus
|
|
|
|
, openssl
|
|
|
|
, sqlite
|
|
|
|
, gst_all_1
|
2023-08-04 22:07:22 +00:00
|
|
|
, wrapGAppsHook4
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2021-03-15 08:37:03 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gnome-podcasts";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.6.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "World";
|
|
|
|
repo = "podcasts";
|
|
|
|
rev = version;
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-LPwCYgAFgUMFQZ0i4ldiuGYGMMWcMqYct3/o7eTIhmU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
|
|
inherit pname version src;
|
|
|
|
hash = "sha256-n3ZcUhqn1rvvgkBKSKvH0b8wbOCqcBGwpb2OqMe8h0s=";
|
2021-03-15 08:37:03 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2023-05-24 13:37:59 +00:00
|
|
|
cargo
|
2021-03-15 08:37:03 +00:00
|
|
|
rustPlatform.cargoSetupHook
|
2023-05-24 13:37:59 +00:00
|
|
|
rustc
|
2023-08-04 22:07:22 +00:00
|
|
|
wrapGAppsHook4
|
|
|
|
appstream-glib
|
|
|
|
desktop-file-utils
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
2023-08-04 22:07:22 +00:00
|
|
|
gtk4
|
|
|
|
libadwaita
|
|
|
|
gettext
|
2020-04-24 23:36:52 +00:00
|
|
|
dbus
|
|
|
|
openssl
|
|
|
|
sqlite
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-bad
|
2020-12-09 12:39:15 +00:00
|
|
|
gst_all_1.gst-plugins-good
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# tests require network
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Listen to your favorite podcasts";
|
|
|
|
homepage = "https://wiki.gnome.org/Apps/Podcasts";
|
2021-03-15 08:37:03 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
platforms = platforms.unix;
|
2022-01-07 04:07:37 +00:00
|
|
|
broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/gnome-podcasts.x86_64-darwin
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|