depot/third_party/nixpkgs/pkgs/desktops/plasma-5/3rdparty/lightly/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

46 lines
893 B
Nix

{ 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 = "Modern style for qt applications";
license = licenses.gpl2Only;
maintainers = with maintainers; [ pasqui23 ];
homepage = "https://github.com/Luwx/Lightly/";
inherit (kwindowsystem.meta) platforms;
};
}