nixpkgs/pkgs/applications/audio/sound-juicer/default.nix

71 lines
1.2 KiB
Nix
Raw Normal View History

2021-03-21 01:29:01 +00:00
{ lib
, stdenv
, fetchurl
, meson
, ninja
, pkg-config
, glib
, gtk3
, itstool
, libxml2
, brasero
, libcanberra-gtk3
, gnome
2021-03-21 01:29:01 +00:00
, gst_all_1
, libmusicbrainz5
, libdiscid
, isocodes
, gsettings-desktop-schemas
, wrapGAppsHook
}:
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";
2021-03-21 01:29:01 +00:00
version = "3.38.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";
sha256 = "08d5d81rz9sj3m5paw8fwbgxmhlbr7bcjdzpmzj832qvg8smydxf";
2015-03-20 19:50:38 +00:00
};
2021-03-21 01:29:01 +00:00
nativeBuildInputs = [
meson
ninja
pkg-config
itstool
libxml2
wrapGAppsHook
];
2018-03-22 14:30:20 +00:00
buildInputs = [
2021-03-21 01:29:01 +00:00
glib
gtk3
brasero
libcanberra-gtk3
gnome.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 = {
updateScript = gnome.updateScript {
2018-03-22 14:30:20 +00:00
packageName = pname;
};
};
2015-03-20 19:50:38 +00:00
meta = with lib; {
2015-03-20 19:50:38 +00:00
description = "A Gnome CD Ripper";
homepage = "https://wiki.gnome.org/Apps/SoundJuicer";
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;
};
}