diff --git a/pkgs/development/libraries/pulseaudio-qt/default.nix b/pkgs/development/libraries/pulseaudio-qt/default.nix new file mode 100644 index 000000000000..03d656f91fae --- /dev/null +++ b/pkgs/development/libraries/pulseaudio-qt/default.nix @@ -0,0 +1,35 @@ +{ mkDerivation +, lib +, fetchurl +, cmake +, extra-cmake-modules +, pkg-config +, pulseaudio +}: + +mkDerivation rec { + pname = "pulseaudio-qt"; + version = "1.2.0"; + + src = fetchurl { + url = "mirror://kde/stable/${pname}/${pname}-${lib.versions.majorMinor version}.tar.xz"; + sha256 = "1i0ql68kxv9jxs24rsd3s7jhjid3f2fq56fj4wbp16zb4wd14099"; + }; + + buildInputs = [ + pulseaudio + ]; + + nativeBuildInputs = [ + pkg-config + cmake + extra-cmake-modules + ]; + + meta = with lib; { + description = "Pulseaudio bindings for Qt"; + homepage = "https://invent.kde.org/libraries/pulseaudio-qt"; + license = with licenses; [ lgpl2 ]; + maintainers = with maintainers; [ doronbehar ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1580bf01bc5c..479f12c62c4a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15110,6 +15110,8 @@ in suffix = "qt5"; }; + pulseaudio-qt = callPackage ../development/libraries/pulseaudio-qt { }; + qca-qt5 = callPackage ../development/libraries/qca-qt5 { }; qmltermwidget = callPackage ../development/libraries/qmltermwidget {