about summary refs log tree commit diff
path: root/pkgs/development/libraries/pulseaudio-qt/default.nix
blob: 9605b5875ec309e4ec37ad671763246101aee150 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ stdenv
, lib
, fetchurl
, cmake
, pkg-config
, extra-cmake-modules
, wrapQtAppsHook
, pulseaudio
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "pulseaudio-qt";
  version = "1.3.0";

  src = fetchurl {
    url = "mirror://kde/stable/${finalAttrs.pname}/${finalAttrs.pname}-${lib.versions.majorMinor finalAttrs.version}.tar.xz";
    sha256 = "1i4yb0v1mmhih8c2i61hybg6q60qys3pc5wbjb7a0vwl1mihgsxw";
  };

  nativeBuildInputs = [
    cmake
    pkg-config
    extra-cmake-modules
    wrapQtAppsHook
  ];

  buildInputs = [
    pulseaudio
  ];

  meta = with lib; {
    description = "Pulseaudio bindings for Qt";
    homepage    = "https://invent.kde.org/libraries/pulseaudio-qt";
    license     = with licenses; [ lgpl2 ];
    maintainers = with maintainers; [ doronbehar ];
  };
})