summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/ardour/default.nix4
-rw-r--r--pkgs/applications/audio/audacious/default.nix4
-rw-r--r--pkgs/applications/audio/audacity/default.nix2
-rw-r--r--pkgs/applications/audio/boops/default.nix4
-rw-r--r--pkgs/applications/audio/cozy/default.nix (renamed from pkgs/applications/audio/cozy-audiobooks/default.nix)8
-rw-r--r--pkgs/applications/audio/exaile/default.nix107
-rw-r--r--pkgs/applications/audio/hydrogen/default.nix4
-rw-r--r--pkgs/applications/audio/libopenmpt/default.nix (renamed from pkgs/applications/audio/openmpt123/default.nix)8
-rw-r--r--pkgs/applications/audio/lollypop/default.nix4
-rw-r--r--pkgs/applications/audio/plexamp/default.nix6
-rw-r--r--pkgs/applications/audio/sonic-pi/default.nix7
-rw-r--r--pkgs/applications/audio/spotify/default.nix15
-rw-r--r--pkgs/applications/audio/tauon/default.nix109
13 files changed, 254 insertions, 28 deletions
diff --git a/pkgs/applications/audio/ardour/default.nix b/pkgs/applications/audio/ardour/default.nix
index 8ebf4bf0fc4b..2bd6cf03cc08 100644
--- a/pkgs/applications/audio/ardour/default.nix
+++ b/pkgs/applications/audio/ardour/default.nix
@@ -56,13 +56,13 @@
}:
stdenv.mkDerivation rec {
pname = "ardour";
- version = "6.7";
+ version = "6.9";
# don't fetch releases from the GitHub mirror, they are broken
src = fetchgit {
url = "git://git.ardour.org/ardour/ardour.git";
rev = version;
- sha256 = "19jc29fjwgvqbg3gnmy50mrz8mh5x4nwddglasvwx83nc87qwllx";
+ sha256 = "0vlcbd70y0an881zv87kc3akmaiz4w7whsy3yaiiqqjww35jg1mm";
};
patches = [
diff --git a/pkgs/applications/audio/audacious/default.nix b/pkgs/applications/audio/audacious/default.nix
index db6e03f47417..a6c8221c9f72 100644
--- a/pkgs/applications/audio/audacious/default.nix
+++ b/pkgs/applications/audio/audacious/default.nix
@@ -6,7 +6,7 @@
libcddb, libcdio, libcdio-paranoia, libcue, libjack2, libmad, libmms, libmodplug,
libmowgli, libnotify, libogg, libpulseaudio, libsamplerate, libsidplayfp,
libsndfile, libvorbis, libxml2, lirc, mpg123, neon, qtmultimedia, soxr,
- wavpack, openmpt123
+ wavpack, libopenmpt
}:
mkDerivation rec {
@@ -33,7 +33,7 @@ mkDerivation rec {
libcdio libcdio-paranoia libcue libjack2 libmad libmms libmodplug libmowgli
libnotify libogg libpulseaudio libsamplerate libsidplayfp libsndfile
libvorbis libxml2 lirc mpg123 neon qtmultimedia soxr wavpack
- openmpt123
+ libopenmpt
];
# Here we build both audacious and audacious-plugins in one
diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix
index 73a0cebd36b9..566024881b4a 100644
--- a/pkgs/applications/audio/audacity/default.nix
+++ b/pkgs/applications/audio/audacity/default.nix
@@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
patches = [
(fetchpatch {
- url = "https://github.com/audacity/audacity/pull/831/commits/007852e51fcbb5f1f359d112f28b8984a604dac6.patch";
+ url = "https://github.com/audacity/audacity/commit/7f8135e112a0e1e8e906abab9339680d1e491441.patch";
sha256 = "0zp2iydd46analda9cfnbmzdkjphz5m7dynrdj5qdnmq6j3px9fw";
name = "audacity_xdg_paths.patch";
})
diff --git a/pkgs/applications/audio/boops/default.nix b/pkgs/applications/audio/boops/default.nix
index de766f14dbc5..2f4156675392 100644
--- a/pkgs/applications/audio/boops/default.nix
+++ b/pkgs/applications/audio/boops/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "boops";
- version = "1.6.4";
+ version = "1.8.2";
src = fetchFromGitHub {
owner = "sjaehn";
repo = "BOops";
rev = version;
- sha256 = "sha256-rljUb0fj231MQh+7jTpjAsZm1QkNzfdSpcI1cS5fs/c=";
+ sha256 = "0nvpawk58g189z96xnjs4pyri5az3ckdi9mhi0i9s0a7k4gdkarr";
};
nativeBuildInputs = [ pkg-config ];
diff --git a/pkgs/applications/audio/cozy-audiobooks/default.nix b/pkgs/applications/audio/cozy/default.nix
index 88ac8002140e..afceca2a54ba 100644
--- a/pkgs/applications/audio/cozy-audiobooks/default.nix
+++ b/pkgs/applications/audio/cozy/default.nix
@@ -9,8 +9,8 @@
, gst_all_1
, gobject-introspection
, libhandy
+, libdazzle
, python3Packages
-, file
, cairo
, gettext
, gnome
@@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec {
format = "other"; # no setup.py
pname = "cozy";
- version = "1.0.3";
+ version = "1.1.2";
# Temporary fix
# See https://github.com/NixOS/nixpkgs/issues/57029
@@ -33,7 +33,7 @@ python3Packages.buildPythonApplication rec {
owner = "geigi";
repo = pname;
rev = version;
- sha256 = "0m0xiqpb87pwr3fhy0a4qxg67yjhwchcxj3x2anyy0li4inryxag";
+ sha256 = "sha256-QENn8mFMk06/Uj8QJo0mJQ7frJNcv5RVNJwDB+H/LkI=";
};
nativeBuildInputs = [
@@ -49,6 +49,7 @@ python3Packages.buildPythonApplication rec {
cairo
gettext
gnome.adwaita-icon-theme
+ libdazzle
libhandy
pantheon.granite
] ++ (with gst_all_1; [
@@ -56,6 +57,7 @@ python3Packages.buildPythonApplication rec {
gst-plugins-good
gst-plugins-ugly
gst-plugins-base
+ gst-plugins-bad
]);
propagatedBuildInputs = with python3Packages; [
diff --git a/pkgs/applications/audio/exaile/default.nix b/pkgs/applications/audio/exaile/default.nix
new file mode 100644
index 000000000000..220a7c4eb3ea
--- /dev/null
+++ b/pkgs/applications/audio/exaile/default.nix
@@ -0,0 +1,107 @@
+{ stdenv, lib, fetchFromGitHub
+, gobject-introspection, makeWrapper, wrapGAppsHook
+, gtk3, gst_all_1, python3
+, gettext, gnome, help2man, keybinder3, libnotify, librsvg, streamripper, udisks, webkitgtk
+, iconTheme ? gnome.adwaita-icon-theme
+, deviceDetectionSupport ? true
+, documentationSupport ? true
+, notificationSupport ? true
+, scalableIconSupport ? true
+, translationSupport ? true
+, bpmCounterSupport ? false
+, ipythonSupport ? false
+, lastfmSupport ? false
+, lyricsManiaSupport ? false
+, lyricsWikiSupport ? false
+, multimediaKeySupport ? false
+, musicBrainzSupport ? false
+, podcastSupport ? false
+, streamripperSupport ? false
+, wikipediaSupport ? false
+, fetchpatch
+}:
+
+stdenv.mkDerivation rec {
+ pname = "exaile";
+ version = "4.1.1";
+
+ src = fetchFromGitHub {
+ owner = "exaile";
+ repo = pname;
+ rev = version;
+ sha256 = "0s29lm0i4slgaw5l5s9a2zx0b83xac43rnil5cvyi210dxm5s048";
+ };
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/exaile/exaile/pull/751.patch";
+ sha256 = "sha256-jCJh85Z3HQcyS4ntQP5HwYJgM7WNHcWzjf0BdNJitsM=";
+ })
+ ];
+
+ nativeBuildInputs = [
+ gobject-introspection
+ makeWrapper
+ wrapGAppsHook
+ ] ++ lib.optionals documentationSupport [
+ help2man
+ python3.pkgs.sphinx
+ python3.pkgs.sphinx_rtd_theme
+ ] ++ lib.optional translationSupport gettext;
+
+ buildInputs = [
+ iconTheme
+ gtk3
+ ] ++ (with gst_all_1; [
+ gstreamer
+ gst-plugins-base
+ gst-plugins-good
+ ]) ++ (with python3.pkgs; [
+ bsddb3
+ dbus-python
+ mutagen
+ pygobject3
+ pycairo
+ gst-python
+ ]) ++ lib.optional deviceDetectionSupport udisks
+ ++ lib.optional notificationSupport libnotify
+ ++ lib.optional scalableIconSupport librsvg
+ ++ lib.optional bpmCounterSupport gst_all_1.gst-plugins-bad
+ ++ lib.optional ipythonSupport python3.pkgs.ipython
+ ++ lib.optional lastfmSupport python3.pkgs.pylast
+ ++ lib.optional (lyricsManiaSupport || lyricsWikiSupport) python3.pkgs.lxml
+ ++ lib.optional lyricsWikiSupport python3.pkgs.beautifulsoup4
+ ++ lib.optional multimediaKeySupport keybinder3
+ ++ lib.optional musicBrainzSupport python3.pkgs.musicbrainzngs
+ ++ lib.optional podcastSupport python3.pkgs.feedparser
+ ++ lib.optional wikipediaSupport webkitgtk;
+
+ checkInputs = with python3.pkgs; [
+ mox3
+ pytest
+ ];
+
+ makeFlags = [
+ "PREFIX=${placeholder "out"}"
+ ];
+
+ doCheck = true;
+ preCheck = ''
+ substituteInPlace Makefile --replace "PYTHONPATH=$(shell pwd)" "PYTHONPATH=$PYTHONPATH:$(shell pwd)"
+ export PYTEST="py.test"
+ export XDG_CACHE_HOME=$(mktemp -d)
+ '';
+
+ postInstall = ''
+ wrapProgram $out/bin/exaile \
+ --set PYTHONPATH $PYTHONPATH \
+ ${lib.optionalString streamripperSupport "--prefix PATH : ${lib.makeBinPath [ streamripper ]}"}
+ '';
+
+ meta = with lib; {
+ homepage = "https://www.exaile.org/";
+ description = "A music player with a simple interface and powerful music management capabilities";
+ license = licenses.gpl2Only;
+ maintainers = with maintainers; [ ryneeverett ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/applications/audio/hydrogen/default.nix b/pkgs/applications/audio/hydrogen/default.nix
index 319ee7a5f984..842d2ad93fa4 100644
--- a/pkgs/applications/audio/hydrogen/default.nix
+++ b/pkgs/applications/audio/hydrogen/default.nix
@@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
pname = "hydrogen";
- version = "1.0.2";
+ version = "1.1.0";
src = fetchFromGitHub {
owner = "hydrogen-music";
repo = pname;
rev = version;
- sha256 = "sha256-t3f+T1QTNbuJnWmD+q0yPgQxXPXvl91lZN17pKUVFlo=";
+ sha256 = "sha256-G+7vTUxYiPNKJ0Qxf/E/t0d6vC/lDs9vNfSbvUXTQgI=";
};
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
diff --git a/pkgs/applications/audio/openmpt123/default.nix b/pkgs/applications/audio/libopenmpt/default.nix
index 3bfb1a5a4da8..2edb75d2b803 100644
--- a/pkgs/applications/audio/openmpt123/default.nix
+++ b/pkgs/applications/audio/libopenmpt/default.nix
@@ -2,12 +2,14 @@
, usePulseAudio ? config.pulseaudio or false, libpulseaudio }:
stdenv.mkDerivation rec {
- pname = "openmpt123";
- version = "0.5.10";
+ pname = "libopenmpt";
+ version = "0.5.11";
+
+ outputs = [ "out" "lib" "dev" ];
src = fetchurl {
url = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}+release.autotools.tar.gz";
- sha256 = "sha256-Waj6KNi432nLf6WXK9+TEIHatOHhFWxpoaU7ZcK+n/o=";
+ sha256 = "1c54lldr2imjzhlhq5lvwhj7d5794xm97cby9pznr5wdjjay0sa4";
};
enableParallelBuilding = true;
diff --git a/pkgs/applications/audio/lollypop/default.nix b/pkgs/applications/audio/lollypop/default.nix
index 860a621847da..564277562885 100644
--- a/pkgs/applications/audio/lollypop/default.nix
+++ b/pkgs/applications/audio/lollypop/default.nix
@@ -25,7 +25,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "lollypop";
- version = "1.4.17";
+ version = "1.4.23";
format = "other";
doCheck = false;
@@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication rec {
url = "https://gitlab.gnome.org/World/lollypop";
rev = "refs/tags/${version}";
fetchSubmodules = true;
- sha256 = "sha256-GrznUXIYUTYOKQ1znsCqmBdm5YImCABMK2NGRtx5fSk=";
+ sha256 = "sha256-wwdH3gMpYt40VGqrL1XfB1dOfg45zLKtTEI23AwjCis=";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/audio/plexamp/default.nix b/pkgs/applications/audio/plexamp/default.nix
index 9921c1b7e88b..7e1865462e63 100644
--- a/pkgs/applications/audio/plexamp/default.nix
+++ b/pkgs/applications/audio/plexamp/default.nix
@@ -2,13 +2,13 @@
let
pname = "plexamp";
- version = "3.5.0";
+ version = "3.7.0";
name = "${pname}-${version}";
src = fetchurl {
url = "https://plexamp.plex.tv/plexamp.plex.tv/desktop/Plexamp-${version}.AppImage";
name="${pname}-${version}.AppImage";
- sha512 = "NjhrtGQsIbNDmGPEDmEbaHSfvUTFb1e7yPorF/BzWTfwVoFZEJiNzP/1k+zTJ4Yfd4mG0W0GYx0jh8m/micWIg==";
+ sha512 = "YixaO54+V9RTYS+Of7AVvBtxUEuCdbzlJmyIBj5k8jlD0bvRP1XwIIeADnofKBLAa2ZsmiQunznPLsjQWgr4JA==";
};
appimageContents = appimageTools.extractType2 {
@@ -34,7 +34,7 @@ in appimageTools.wrapType2 {
meta = with lib; {
description = "A beautiful Plex music player for audiophiles, curators, and hipsters";
homepage = "https://plexamp.com/";
- changelog = "https://forums.plex.tv/t/plexamp-release-notes/221280/30";
+ changelog = "https://forums.plex.tv/t/plexamp-release-notes/221280/31";
license = licenses.unfree;
maintainers = with maintainers; [ killercup synthetica ];
platforms = [ "x86_64-linux" ];
diff --git a/pkgs/applications/audio/sonic-pi/default.nix b/pkgs/applications/audio/sonic-pi/default.nix
index c84aa039c52e..f7a3e2e36744 100644
--- a/pkgs/applications/audio/sonic-pi/default.nix
+++ b/pkgs/applications/audio/sonic-pi/default.nix
@@ -102,7 +102,12 @@ mkDerivation rec {
dontWrapQtApps = true;
preFixup = ''
wrapQtApp "$out/bin/sonic-pi" \
- --prefix PATH : ${ruby}/bin:${bash}/bin:${supercollider}/bin:${jack2}/bin \
+ --prefix PATH : ${lib.makeBinPath [ bash jack2 ruby supercollider ] } \
+ --set AUBIO_LIB "${aubio}/lib/libaubio.so"
+ makeWrapper \
+ $out/app/server/ruby/bin/sonic-pi-server.rb \
+ $out/bin/sonic-pi-server \
+ --prefix PATH : ${lib.makeBinPath [ bash jack2 ruby supercollider ] } \
--set AUBIO_LIB "${aubio}/lib/libaubio.so"
'';
diff --git a/pkgs/applications/audio/spotify/default.nix b/pkgs/applications/audio/spotify/default.nix
index d81ab4b3ac72..fa8174e3a95b 100644
--- a/pkgs/applications/audio/spotify/default.nix
+++ b/pkgs/applications/audio/spotify/default.nix
@@ -10,20 +10,20 @@ let
# If an update breaks things, one of those might have valuable info:
# https://aur.archlinux.org/packages/spotify/
# https://community.spotify.com/t5/Desktop-Linux
- version = "1.1.55.498.gf9a83c60";
+ version = "1.1.67.586.gbb5ef64e";
# To get the latest stable revision:
# curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/spotify?channel=stable' | jq '.download_url,.version,.last_updated'
# To get general information:
# curl -H 'Snap-Device-Series: 16' 'https://api.snapcraft.io/v2/snaps/info/spotify' | jq '.'
# More examples of api usage:
# https://github.com/canonical-websites/snapcraft.io/blob/master/webapp/publisher/snaps/views.py
- rev = "46";
+ rev = "50";
deps = [
alsa-lib
- atk
at-spi2-atk
at-spi2-core
+ atk
cairo
cups
curl
@@ -46,7 +46,10 @@ let
pango
stdenv.cc.cc
systemd
+ xorg.libICE
+ xorg.libSM
xorg.libX11
+ xorg.libxcb
xorg.libXcomposite
xorg.libXcursor
xorg.libXdamage
@@ -56,10 +59,8 @@ let
xorg.libXrandr
xorg.libXrender
xorg.libXScrnSaver
+ xorg.libxshmfence
xorg.libXtst
- xorg.libxcb
- xorg.libSM
- xorg.libICE
zlib
];
@@ -79,7 +80,7 @@ stdenv.mkDerivation {
# https://community.spotify.com/t5/Desktop-Linux/Redistribute-Spotify-on-Linux-Distributions/td-p/1695334
src = fetchurl {
url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap";
- sha512 = "dabb55d2ba41f977b6d3f03bfcf147d11785136dd1277efc62011c8371ef25cc04531266bd16608639b9b6a500c1a18a45f44ba7a43e17ab5ac139e36eff7149";
+ sha512 = "f29aa4a3f3d6a72f108f350905789f12ab3ae50cf4f4828f021d3be7759b192506c9a397e45309a5ee659578b6e85de80d7d78f994af9ab631c9fb2dc527c242";
};
nativeBuildInputs = [ makeWrapper wrapGAppsHook squashfsTools ];
diff --git a/pkgs/applications/audio/tauon/default.nix b/pkgs/applications/audio/tauon/default.nix
new file mode 100644
index 000000000000..530c41ab9220
--- /dev/null
+++ b/pkgs/applications/audio/tauon/default.nix
@@ -0,0 +1,109 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, pkg-config
+, python3Packages
+, ffmpeg
+, flac
+, gobject-introspection
+, gtk3
+, libnotify
+, libsamplerate
+, libvorbis
+, mpg123
+, libopenmpt
+, opusfile
+, pango
+, pulseaudio
+}:
+
+stdenv.mkDerivation rec {
+ pname = "tauon";
+ version = "6.7.1";
+
+ src = fetchFromGitHub {
+ owner = "Taiko2k";
+ repo = "TauonMusicBox";
+ rev = "v${version}";
+ sha256 = "1hm82yfq7q2akrrvff3vmwrd3bz34d2dk8jzhnizhnhar6xc6fzp";
+ };
+
+ postPatch = ''
+ substituteInPlace tauon.py \
+ --replace 'install_mode = False' 'install_mode = True' \
+ --replace 'install_directory = os.path.dirname(__file__)' 'install_directory = "${placeholder "out"}/share/tauon"'
+
+ substituteInPlace t_modules/t_main.py \
+ --replace 'install_mode = False' 'install_mode = True' \
+ --replace 'install_directory = sys.path[0]' 'install_directory = "${placeholder "out"}/share/tauon"' \
+ --replace 'libopenmpt.so' '${lib.getLib libopenmpt}/lib/libopenmpt.so' \
+ --replace 'lib/libphazor.so' '../../lib/libphazor.so'
+
+ substituteInPlace t_modules/t_phazor.py \
+ --replace 'lib/libphazor.so' '../../lib/libphazor.so'
+
+ patchShebangs compile-phazor.sh
+ '';
+
+ postBuild = ''
+ ./compile-phazor.sh
+ '';
+
+ nativeBuildInputs = [
+ pkg-config
+ python3Packages.wrapPython
+ ];
+
+ buildInputs = [
+ flac
+ gobject-introspection
+ gtk3
+ libnotify
+ libopenmpt
+ libsamplerate
+ libvorbis
+ mpg123
+ opusfile
+ pango
+ pulseaudio
+ ];
+
+ pythonPath = with python3Packages; [
+ dbus-python
+ isounidecode
+ musicbrainzngs
+ mutagen
+ pillow
+ pulsectl
+ pycairo
+ pylast
+ pygobject3
+ pylyrics
+ pysdl2
+ requests
+ send2trash
+ ];
+
+ makeWrapperArgs = [
+ "--prefix PATH : ${lib.makeBinPath [ffmpeg]}"
+ "--prefix PYTHONPATH : $out/share/tauon"
+ "--set GI_TYPELIB_PATH $GI_TYPELIB_PATH"
+ ];
+
+ installPhase = ''
+ install -Dm755 tauon.py $out/bin/tauon
+ mkdir -p $out/share/tauon
+ cp -r lib $out
+ cp -r assets input.txt t_modules theme $out/share/tauon
+
+ wrapPythonPrograms
+ '';
+
+ meta = with lib; {
+ description = "The Linux desktop music player from the future";
+ homepage = "https://tauonmusicbox.rocks/";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ SuperSandro2000 ];
+ platforms = platforms.linux;
+ };
+}