blob: 3d0c298cadae7f7bd6772fe0ea4c7c355eaeea41 (
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
|
{ stdenv
, fetchFromGitHub
, cmake
, extra-cmake-modules
, wrapQtAppsHook
, kwin
, kdelibs4support
, libepoxy
, libXdmcp
, lib
}:
stdenv.mkDerivation rec {
pname = "kde-rounded-corners";
version = "unstable-2022-06-17";
src = fetchFromGitHub {
owner = "matinlotfali";
repo = "KDE-Rounded-Corners";
rev = "015ef5cd65e9ec89e4a1ae057f2251eda03715e2";
hash = "sha256-NJ7icavofSUPPww1Ro7p0yY2EQ78S4KVCuj9yPuYwd8=";
};
postConfigure = ''
substituteInPlace cmake_install.cmake \
--replace "${kdelibs4support}" "$out"
'';
nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ];
buildInputs = [ kwin kdelibs4support libepoxy libXdmcp ];
meta = with lib; {
description = "Rounds the corners of your windows";
homepage = "https://github.com/matinlotfali/KDE-Rounded-Corners";
license = licenses.gpl3Only;
maintainers = with maintainers; [ flexagoon ];
};
}
|