mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
72 lines
1.3 KiB
Nix
72 lines
1.3 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, glib
|
|
, gtk3
|
|
, itstool
|
|
, libxml2
|
|
, brasero
|
|
, libcanberra-gtk3
|
|
, gnome
|
|
, gst_all_1
|
|
, libmusicbrainz5
|
|
, libdiscid
|
|
, isocodes
|
|
, gsettings-desktop-schemas
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sound-juicer";
|
|
version = "3.40.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "LuiCdEORvrTG1koPaCX7dlUQtwbsK3BL+0LkKvquHeY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
itstool
|
|
libxml2
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
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
|
|
gst_all_1.gst-libav
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Gnome CD Ripper";
|
|
mainProgram = "sound-juicer";
|
|
homepage = "https://gitlab.gnome.org/GNOME/sound-juicer";
|
|
maintainers = [ maintainers.bdimcheff ];
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|