fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / gn / gnome-podcasts / package.nix
blob0cc31075ec52cab8f1e341f1b2cc2effc666f146
2   stdenv,
3   lib,
4   rustPlatform,
5   fetchFromGitLab,
6   cargo,
7   meson,
8   ninja,
9   gettext,
10   pkg-config,
11   rustc,
12   glib,
13   gtk4,
14   libadwaita,
15   appstream-glib,
16   desktop-file-utils,
17   dbus,
18   openssl,
19   glib-networking,
20   sqlite,
21   gst_all_1,
22   wrapGAppsHook4,
25 stdenv.mkDerivation rec {
26   pname = "gnome-podcasts";
27   version = "0.7.1";
29   src = fetchFromGitLab {
30     domain = "gitlab.gnome.org";
31     owner = "World";
32     repo = "podcasts";
33     rev = version;
34     hash = "sha256-KCjHT/4AeJ+RXCtawkhs6f4D8NCJotYIPk3tGr5YG9M=";
35   };
37   cargoDeps = rustPlatform.fetchCargoTarball {
38     inherit src;
39     hash = "sha256-XTfKqKs7874ak7Lzscxw8E2qcnJOWMZaaol8TpIB6Vw=";
40   };
42   nativeBuildInputs = [
43     meson
44     ninja
45     pkg-config
46     cargo
47     rustPlatform.cargoSetupHook
48     rustc
49     wrapGAppsHook4
50     appstream-glib
51     desktop-file-utils
52   ];
54   buildInputs = [
55     glib
56     gtk4
57     libadwaita
58     gettext
59     dbus
60     openssl
61     glib-networking
62     sqlite
63     gst_all_1.gstreamer
64     gst_all_1.gst-plugins-base
65     gst_all_1.gst-plugins-bad
66     gst_all_1.gst-plugins-good
67   ];
69   # tests require network
70   doCheck = false;
72   meta = {
73     description = "Listen to your favorite podcasts";
74     mainProgram = "gnome-podcasts";
75     homepage = "https://apps.gnome.org/Podcasts/";
76     license = lib.licenses.gpl3Plus;
77     maintainers = lib.teams.gnome.members;
78     platforms = lib.platforms.unix;
79     broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/gnome-podcasts.x86_64-darwin
80   };