blob: 9b0a0e6d7a36784a8d3cfcf6a1f02ffadc98679f (
plain)
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
47
48
49
|
{
stdenv,
fetchFromGitHub,
cmake,
extra-cmake-modules,
wrapQtAppsHook,
kwin,
lib,
fetchpatch2,
}:
stdenv.mkDerivation rec {
pname = "sierra-breeze-enhanced";
version = "2.1.1";
src = fetchFromGitHub {
owner = "kupiqu";
repo = "SierraBreezeEnhanced";
rev = if version == "2.1.1" then "V.2.1.1" else "V${version}";
hash = "sha256-7mQnJCQr/zm9zEdg2JPr7jQn8uajyCXvyYRQZWxG+Q8=";
};
patches = [
(fetchpatch2 {
url = "https://github.com/kupiqu/SierraBreezeEnhanced/pull/155.patch";
hash = "sha256-taj7AqiewiUU4wOTKPgfvua0rDuQ8ssH+/maxz/A3G8=";
})
];
nativeBuildInputs = [
cmake
extra-cmake-modules
wrapQtAppsHook
];
buildInputs = [ kwin ];
cmakeFlags = [
"-DCMAKE_INSTALL_PREFIX=$out"
"-DBUILD_TESTING=OFF"
"-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
];
meta = {
description = "OSX-like window decoration for KDE Plasma written in C++";
homepage = "https://github.com/kupiqu/SierraBreezeEnhanced";
changelog = "https://github.com/kupiqu/SierraBreezeEnhanced/releases/tag/V${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ A1ca7raz ];
};
}
|