2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, itstool
|
|
|
|
, libxml2
|
|
|
|
, brasero
|
|
|
|
, libcanberra-gtk3
|
|
|
|
, gnome
|
|
|
|
, gst_all_1
|
|
|
|
, libmusicbrainz5
|
|
|
|
, libdiscid
|
|
|
|
, isocodes
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "sound-juicer";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "3.38.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-20 23:08:51 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "08d5d81rz9sj3m5paw8fwbgxmhlbr7bcjdzpmzj832qvg8smydxf";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2021-05-20 23:08:51 +00:00
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
brasero
|
|
|
|
libcanberra-gtk3
|
|
|
|
gnome.adwaita-icon-theme
|
|
|
|
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
|
2020-04-24 23:36:52 +00:00
|
|
|
gst_all_1.gst-libav
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Gnome CD Ripper";
|
|
|
|
homepage = "https://wiki.gnome.org/Apps/SoundJuicer";
|
|
|
|
maintainers = [ maintainers.bdimcheff ];
|
2021-05-20 23:08:51 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|