diff options
author | Peter Hoeg <peter@hoeg.com> | 2022-07-27 11:29:23 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2022-07-31 12:24:26 +0800 |
commit | 784a28af407e51f37abe3a076a7c60bbf7ca0fe9 (patch) | |
tree | 1d06fa772bd9765b517750e0703f6489339592a2 /pkgs/applications/audio/strawberry/default.nix | |
parent | e30abcd5d74648ffe676337fc0abea33377d2c4a (diff) | |
download | nixpkgs-784a28af407e51f37abe3a076a7c60bbf7ca0fe9.tar nixpkgs-784a28af407e51f37abe3a076a7c60bbf7ca0fe9.tar.gz nixpkgs-784a28af407e51f37abe3a076a7c60bbf7ca0fe9.tar.bz2 nixpkgs-784a28af407e51f37abe3a076a7c60bbf7ca0fe9.tar.lz nixpkgs-784a28af407e51f37abe3a076a7c60bbf7ca0fe9.tar.xz nixpkgs-784a28af407e51f37abe3a076a7c60bbf7ca0fe9.tar.zst nixpkgs-784a28af407e51f37abe3a076a7c60bbf7ca0fe9.zip |
strawberry: 1.0.5 -> 1.0.7
Diffstat (limited to 'pkgs/applications/audio/strawberry/default.nix')
-rw-r--r-- | pkgs/applications/audio/strawberry/default.nix | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/pkgs/applications/audio/strawberry/default.nix b/pkgs/applications/audio/strawberry/default.nix index fc02833207e..b3dd4bee214 100644 --- a/pkgs/applications/audio/strawberry/default.nix +++ b/pkgs/applications/audio/strawberry/default.nix @@ -1,9 +1,9 @@ -{ mkDerivation -, stdenv +{ stdenv , lib , fetchFromGitHub , cmake , pkg-config +, wrapQtAppsHook , alsa-lib , boost , chromaprint @@ -20,13 +20,14 @@ , sqlite , taglib , libgpod +, libidn2 , libpulseaudio , libselinux , libsepol , p11-kit , util-linux , qtbase -, qtx11extras +, qtx11extras ? null # doesn't exist in qt6 , qttools , withGstreamer ? true , glib-networking @@ -35,15 +36,19 @@ , libvlc }: -mkDerivation rec { +let + inherit (lib) optionals; + +in +stdenv.mkDerivation rec { pname = "strawberry"; - version = "1.0.5"; + version = "1.0.7"; src = fetchFromGitHub { owner = "jonaski"; repo = pname; rev = version; - hash = "sha256-6d7oB54IPI+G5Mhkj+PdQQY93r1SBE2R06qSGIacj8Q="; + hash = "sha256-TAt/P9nykUtOoHmprFiUJnip8mAnJlvkufD0v9ZWrp4="; }; # the big strawberry shown in the context menu is *very* much in your face, so use the grey version instead @@ -59,6 +64,7 @@ mkDerivation rec { fftw gnutls libcdio + libidn2 libmtp libpthreadstubs libtasn1 @@ -69,13 +75,13 @@ mkDerivation rec { taglib qtbase qtx11extras - ] ++ lib.optionals stdenv.isLinux [ + ] ++ optionals stdenv.isLinux [ libgpod libpulseaudio libselinux libsepol p11-kit - ] ++ lib.optionals withGstreamer (with gst_all_1; [ + ] ++ optionals withGstreamer (with gst_all_1; [ glib-networking gstreamer gst-libav @@ -90,7 +96,8 @@ mkDerivation rec { ninja pkg-config qttools - ] ++ lib.optionals stdenv.isLinux [ + wrapQtAppsHook + ] ++ optionals stdenv.isLinux [ util-linux ]; |