about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/plasma-5/3rdparty/lightly/default.nix
blob: c4ae4d75d2010d347d4ce37fa33b0aa78ac7f9f0 (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
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, extra-cmake-modules
, kdecoration
, kcoreaddons
, kguiaddons
, kconfigwidgets
, kwindowsystem
, kiconthemes
, qtx11extras
}:

mkDerivation rec{
  pname = "lightly";
  version = "0.4.1";
  src = fetchFromGitHub {
    owner = "Luwx";
    repo = pname;
    rev = "v${version}";
    sha256 = "k1fEZbhzluNlAmj5s/O9X20aCVQxlWQm/Iw/euX7cmI=";
  };

  extraCmakeFlags = [ "-DBUILD_TESTING=OFF" ];

  nativeBuildInputs = [ cmake extra-cmake-modules ];

  buildInputs = [
    kcoreaddons
    kguiaddons
    kconfigwidgets
    kwindowsystem
    kiconthemes
    qtx11extras
    kdecoration
  ];

  meta = with lib; {
    description = "A modern style for qt applications";
    license = licenses.gpl2Only;
    maintainers = with maintainers; [ pasqui23 ];
    homepage = "https://github.com/Luwx/Lightly/";
    inherit (kwindowsystem.meta) platforms;
  };
}