2021-11-20 17:05:19 +00:00
|
|
|
{ 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=";
|
|
|
|
};
|
|
|
|
|
2022-10-07 11:39:27 +01:00
|
|
|
extraCmakeFlags = [ "-DBUILD_TESTING=OFF" ];
|
2021-11-20 17:05:19 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|