2021-03-21 01:29:01 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, itstool
|
|
|
|
, libxml2
|
|
|
|
, brasero
|
|
|
|
, libcanberra-gtk3
|
2021-05-07 22:18:14 +01:00
|
|
|
, gnome
|
2024-06-22 13:43:05 +01:00
|
|
|
, adwaita-icon-theme
|
2021-03-21 01:29:01 +00:00
|
|
|
, gst_all_1
|
|
|
|
, libmusicbrainz5
|
|
|
|
, libdiscid
|
|
|
|
, isocodes
|
|
|
|
, gsettings-desktop-schemas
|
2024-04-26 21:24:03 +01:00
|
|
|
, wrapGAppsHook3
|
2021-03-21 01:29:01 +00:00
|
|
|
}:
|
2015-03-20 19:50:38 +00:00
|
|
|
|
2021-03-21 01:29:01 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-22 14:30:20 +00:00
|
|
|
pname = "sound-juicer";
|
2023-06-21 11:43:02 +01:00
|
|
|
version = "3.40.0";
|
2015-03-20 19:50:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-21 01:29:01 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2023-06-21 11:43:02 +01:00
|
|
|
sha256 = "LuiCdEORvrTG1koPaCX7dlUQtwbsK3BL+0LkKvquHeY=";
|
2015-03-20 19:50:38 +00:00
|
|
|
};
|
|
|
|
|
2021-03-21 01:29:01 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
itstool
|
|
|
|
libxml2
|
2024-04-26 21:24:03 +01:00
|
|
|
wrapGAppsHook3
|
2021-03-21 01:29:01 +00:00
|
|
|
];
|
|
|
|
|
2018-03-22 14:30:20 +00:00
|
|
|
buildInputs = [
|
2021-03-21 01:29:01 +00:00
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
brasero
|
|
|
|
libcanberra-gtk3
|
2024-06-22 13:43:05 +01:00
|
|
|
adwaita-icon-theme
|
2021-03-21 01:29:01 +00:00
|
|
|
gsettings-desktop-schemas
|
|
|
|
libmusicbrainz5
|
|
|
|
libdiscid
|
|
|
|
isocodes
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
|
|
|
gst_all_1.gst-plugins-bad
|
2018-03-22 14:30:20 +00:00
|
|
|
gst_all_1.gst-libav
|
|
|
|
];
|
2015-03-20 19:50:38 +00:00
|
|
|
|
2018-03-22 14:30:20 +00:00
|
|
|
passthru = {
|
2021-05-07 22:18:14 +01:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-22 14:30:20 +00:00
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
2015-03-20 19:50:38 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2024-06-07 08:46:46 +01:00
|
|
|
description = "Gnome CD Ripper";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "sound-juicer";
|
2024-05-01 04:44:27 +01:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/sound-juicer";
|
2015-03-20 19:50:38 +00:00
|
|
|
maintainers = [ maintainers.bdimcheff ];
|
2021-03-21 01:29:01 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2015-03-20 19:50:38 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|