1{
2 stdenv,
3 fetchFromGitHub,
4 cmake,
5 extra-cmake-modules,
6 wrapQtAppsHook,
7 qtbase,
8 kwin,
9 kcmutils,
10 libepoxy,
11 libxcb,
12 lib,
13}:
14
15stdenv.mkDerivation rec {
16 pname = "kde-rounded-corners";
17 version = "0.8.0";
18
19 src = fetchFromGitHub {
20 owner = "matinlotfali";
21 repo = "KDE-Rounded-Corners";
22 rev = "v${version}";
23 hash = "sha256-dgeB+N0Ye/O5y/o/yc9Vj1Ia8d2uUOGjxBddyPHaDQc=";
24 };
25
26 nativeBuildInputs = [
27 cmake
28 extra-cmake-modules
29 wrapQtAppsHook
30 ];
31 buildInputs = [
32 kcmutils
33 kwin
34 libepoxy
35 libxcb
36 qtbase
37 ];
38
39 meta = with lib; {
40 description = "Rounds the corners of your windows";
41 homepage = "https://github.com/matinlotfali/KDE-Rounded-Corners";
42 license = licenses.gpl3Only;
43 maintainers = with maintainers; [ devusb ];
44 };
45}