nixpkgs-suyu/pkgs/applications/audio/rhythmbox/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

122 lines
2 KiB
Nix
Raw Normal View History

{ stdenv
, lib
, fetchurl
, pkg-config
, meson
, ninja
, fetchFromGitLab
2016-07-21 19:06:27 +02:00
, python3
, vala
, glib
2016-07-21 19:06:27 +02:00
, gtk3
2019-03-23 05:50:12 +01:00
, libpeas
2016-07-21 19:06:27 +02:00
, libsoup
, libxml2
, libsecret
, libnotify
2021-07-10 08:58:20 +02:00
, libdmapsharing
, gnome
, gobject-introspection
, totem-pl-parser
, libgudev
, libgpod
, libmtp
, lirc
, brasero
, grilo
2016-07-21 19:06:27 +02:00
, tdb
, json-glib
2016-07-21 19:06:27 +02:00
, itstool
, wrapGAppsHook
, desktop-file-utils
2016-07-21 19:06:27 +02:00
, gst_all_1
, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
, check
2016-07-21 19:06:27 +02:00
}:
2021-07-10 08:58:20 +02:00
stdenv.mkDerivation rec {
pname = "rhythmbox";
version = "3.4.6";
2016-07-21 19:06:27 +02:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "+VaCEM5V5BHpKcj7leERohHb0ZzEf1ePKRxdMZtesDQ=";
2016-07-21 19:06:27 +02:00
};
2018-03-03 01:24:47 +01:00
nativeBuildInputs = [
pkg-config
meson
ninja
vala
glib
2018-03-03 01:24:47 +01:00
itstool
wrapGAppsHook
desktop-file-utils
2018-03-03 01:24:47 +01:00
];
2016-07-21 19:06:27 +02:00
buildInputs = [
python3
libsoup
libxml2
2016-07-21 19:06:27 +02:00
tdb
json-glib
2016-07-21 19:06:27 +02:00
glib
2016-07-21 19:06:27 +02:00
gtk3
2019-03-23 05:50:12 +01:00
libpeas
totem-pl-parser
libgudev
libgpod
libmtp
lirc
brasero
grilo
2016-07-21 19:06:27 +02:00
gobject-introspection
python3.pkgs.pygobject3
2016-07-21 19:06:27 +02:00
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-ugly
gst_all_1.gst-libav
2021-07-10 08:58:20 +02:00
libdmapsharing # for daap support
libsecret
libnotify
2016-07-21 19:06:27 +02:00
] ++ gst_plugins;
checkInputs = [
check
];
mesonFlags = [
"-Dtests=disabled"
];
# Requires DISPLAY
doCheck = false;
2021-07-10 08:58:20 +02:00
preFixup = ''
gappsWrapperArgs+=(
--prefix PYTHONPATH : "${python3.pkgs.pygobject3}/${python3.sitePackages}:$out/lib/rhythmbox/plugins/"
)
'';
2018-03-03 01:24:47 +01:00
passthru = {
updateScript = gnome.updateScript {
2018-03-03 01:24:47 +01:00
packageName = pname;
versionPolicy = "none";
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Rhythmbox";
2016-07-21 19:06:27 +02:00
description = "A music playing application for GNOME";
license = licenses.gpl2Plus;
2016-07-21 19:06:27 +02:00
platforms = platforms.linux;
maintainers = [ maintainers.rasendubi ];
};
}