diff --git a/pkgs/data/themes/kwin-decorations/sierra-breeze-enhanced/default.nix b/pkgs/data/themes/kwin-decorations/sierra-breeze-enhanced/default.nix new file mode 100644 index 000000000000..2f5230181d5e --- /dev/null +++ b/pkgs/data/themes/kwin-decorations/sierra-breeze-enhanced/default.nix @@ -0,0 +1,38 @@ +{ stdenv +, fetchFromGitHub +, cmake +, extra-cmake-modules +, wrapQtAppsHook +, kwin +, lib +}: + +stdenv.mkDerivation rec { + pname = "sierra-breeze-enhanced"; + version = "1.0.3"; + + src = fetchFromGitHub { + owner = "kupiqu"; + repo = "SierraBreezeEnhanced"; + rev = "V${version}"; + sha256 = "0kqbfn1jqsbii3hqcqlb93x8cg8dyh5mf66i9r237w41knks5mnw"; + }; + + nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ]; + buildInputs = [ kwin ]; + + cmakeFlags = [ + "-DCMAKE_INSTALL_PREFIX=$out" + "-DCMAKE_BUILD_TYPE=Release" + "-DBUILD_TESTING=OFF" + "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON" + ]; + + meta = with lib; { + 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 = licenses.gpl3Only; + maintainers = with maintainers; [ flexagoon ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index be13115ad159..bbff90b0d2b5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23391,6 +23391,8 @@ with pkgs; shades-of-gray-theme = callPackage ../data/themes/shades-of-gray { }; + sierra-breeze-enhanced = libsForQt5.callPackage ../data/themes/kwin-decorations/sierra-breeze-enhanced { }; + sjasmplus = callPackage ../development/compilers/sjasmplus { }; skeu = callPackage ../data/themes/skeu { };