about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/plasma-5/3rdparty/addons/virtual-desktop-bar.nix
blob: 5e4ac584047cfe7d55f66f71d6714cd42c17d073 (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
{ lib
, mkDerivation
, fetchFromGitHub
, extra-cmake-modules
, kwindowsystem
, plasma-framework
, qtx11extras
}:

mkDerivation rec {
  pname = "plasma-applet-virtual-desktop-bar";
  version = "unstable-2021-02-20";

  src = fetchFromGitHub {
    owner = "wsdfhjxc";
    repo = "virtual-desktop-bar";
    rev = "3e9bbddb8def8da65071a1c325eaa06598e8a473";
    sha256 = "192ns6c2brzq46pg385n0v1ydbz52aaa8f5dgfw5251hrw9c7bxg";
  };

  buildInputs = [
    kwindowsystem
    plasma-framework
    qtx11extras
  ];

  nativeBuildInputs = [
    extra-cmake-modules
  ];

  cmakeFlags = [
    "-Wno-dev"
  ];

  meta = with lib; {
    description = "Manage virtual desktops dynamically in a convenient way";
    homepage = "https://github.com/wsdfhjxc/virtual-desktop-bar";
    license = licenses.gpl3Only;
    platforms = platforms.linux;
    maintainers = with maintainers; [ peterhoeg ];
  };
}