Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / pulseaudio-qt / default.nix
blob9605b5875ec309e4ec37ad671763246101aee150
1 { stdenv
2 , lib
3 , fetchurl
4 , cmake
5 , pkg-config
6 , extra-cmake-modules
7 , wrapQtAppsHook
8 , pulseaudio
9 }:
11 stdenv.mkDerivation (finalAttrs: {
12   pname = "pulseaudio-qt";
13   version = "1.3.0";
15   src = fetchurl {
16     url = "mirror://kde/stable/${finalAttrs.pname}/${finalAttrs.pname}-${lib.versions.majorMinor finalAttrs.version}.tar.xz";
17     sha256 = "1i4yb0v1mmhih8c2i61hybg6q60qys3pc5wbjb7a0vwl1mihgsxw";
18   };
20   nativeBuildInputs = [
21     cmake
22     pkg-config
23     extra-cmake-modules
24     wrapQtAppsHook
25   ];
27   buildInputs = [
28     pulseaudio
29   ];
31   meta = with lib; {
32     description = "Pulseaudio bindings for Qt";
33     homepage    = "https://invent.kde.org/libraries/pulseaudio-qt";
34     license     = with licenses; [ lgpl2 ];
35     maintainers = with maintainers; [ doronbehar ];
36   };