summary refs log tree commit diff
path: root/pkgs/applications/audio/paprefs/default.nix
blob: b5ec1206ce3daf52bc6329b3439c4ef9db1e95ae (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
38
39
40
41
42
43
44
45
46
47
48
49
50
{ fetchurl
, stdenv
, meson
, ninja
, gettext
, pkgconfig
, pulseaudioFull
, glibmm
, gtkmm3
, wrapGAppsHook
}:

stdenv.mkDerivation rec {
  name = "paprefs-1.1";

  src = fetchurl {
    url = "https://freedesktop.org/software/pulseaudio/paprefs/${name}.tar.xz";
    sha256 = "189z5p20hk0xv9vwvym293503j4pwl03xqk9hl7cl6dwgv0l7wkf";
  };

  nativeBuildInputs = [
    meson
    ninja
    gettext
    pkgconfig
    wrapGAppsHook
  ];

  buildInputs = [
    pulseaudioFull
    glibmm
    gtkmm3
  ];

  meta = with stdenv.lib; {
    description = "PulseAudio Preferences";

    longDescription = ''
      PulseAudio Preferences (paprefs) is a simple GTK based configuration
      dialog for the PulseAudio sound server.
    '';

    homepage = "http://freedesktop.org/software/pulseaudio/paprefs/";

    license = licenses.gpl2Plus;

    maintainers = [ maintainers.abbradar ];
    platforms = platforms.linux;
  };
}