at master 38 lines 776 B view raw
1{ 2 stdenv, 3 lib, 4 fetchurl, 5 cmake, 6 pkg-config, 7 extra-cmake-modules, 8 wrapQtAppsHook, 9 pulseaudio, 10}: 11 12stdenv.mkDerivation (finalAttrs: { 13 pname = "pulseaudio-qt"; 14 version = "1.3.0"; 15 16 src = fetchurl { 17 url = "mirror://kde/stable/pulseaudio-qt/pulseaudio-qt-${lib.versions.majorMinor finalAttrs.version}.tar.xz"; 18 sha256 = "1i4yb0v1mmhih8c2i61hybg6q60qys3pc5wbjb7a0vwl1mihgsxw"; 19 }; 20 21 nativeBuildInputs = [ 22 cmake 23 pkg-config 24 extra-cmake-modules 25 wrapQtAppsHook 26 ]; 27 28 buildInputs = [ 29 pulseaudio 30 ]; 31 32 meta = with lib; { 33 description = "Pulseaudio bindings for Qt"; 34 homepage = "https://invent.kde.org/libraries/pulseaudio-qt"; 35 license = with licenses; [ lgpl2 ]; 36 maintainers = with maintainers; [ doronbehar ]; 37 }; 38})