2023-10-09 19:29:22 +00:00
|
|
|
{ stdenv
|
2020-10-11 12:50:04 +00:00
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
2023-10-09 19:29:22 +00:00
|
|
|
, extra-cmake-modules
|
|
|
|
, wrapQtAppsHook
|
2020-10-11 12:50:04 +00:00
|
|
|
, pulseaudio
|
|
|
|
}:
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-10-11 12:50:04 +00:00
|
|
|
pname = "pulseaudio-qt";
|
2021-10-28 06:52:43 +00:00
|
|
|
version = "1.3.0";
|
2020-10-11 12:50:04 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-10-09 19:29:22 +00:00
|
|
|
url = "mirror://kde/stable/${finalAttrs.pname}/${finalAttrs.pname}-${lib.versions.majorMinor finalAttrs.version}.tar.xz";
|
2021-10-28 06:52:43 +00:00
|
|
|
sha256 = "1i4yb0v1mmhih8c2i61hybg6q60qys3pc5wbjb7a0vwl1mihgsxw";
|
2020-10-11 12:50:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2023-10-09 19:29:22 +00:00
|
|
|
pkg-config
|
2020-10-11 12:50:04 +00:00
|
|
|
extra-cmake-modules
|
2023-10-09 19:29:22 +00:00
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pulseaudio
|
2020-10-11 12:50:04 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pulseaudio bindings for Qt";
|
|
|
|
homepage = "https://invent.kde.org/libraries/pulseaudio-qt";
|
|
|
|
license = with licenses; [ lgpl2 ];
|
|
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|