adding a flake for RoundedSBE

This commit is contained in:
Chris Cochrun 2023-01-20 05:33:59 -06:00
parent 7ddd241def
commit ac3cee2af9
3 changed files with 143 additions and 0 deletions

79
RoundedSBE/default.nix Normal file
View file

@ -0,0 +1,79 @@
{
stdenv,
lib,
fetchFromGitHub,
qtbase,
qtx11extras,
qttools,
kglobalaccel,
kinit,
kwin,
kdecoration,
kcrash,
kio,
knotifications,
kguiaddons,
kcoreaddons,
# systemsettings,
cmake,
qt5base,
extra-cmake-modules,
wrapQtAppsHook,
libepoxy,
kdelibs4support,
libXdmcp
}:
stdenv.mkDerivation rec {
pname = "RoundedSBE";
version = "0.1.0";
src = fetchFromGitHub {
owner = "a-parhom";
repo = "RoundedSBE";
rev = "ba60e3c84ed0bab18d369435e7d8cdd1e33fd6b2";
sha256 = "sha256-0000000000000000000000000000000000000000000=";
};
# dontWrapQtApps = true;
buildInputs = [
qtbase
qtx11extras
qttools
kglobalaccel
kdelibs4support
kcrash
kinit
kwin
kdecoration
kio
knotifications
kguiaddons
kcoreaddons
# systemsettings
libepoxy
libXdmcp
];
nativeBuildInputs = [
cmake
extra-cmake-modules
wrapQtAppsHook
];
postConfigure = ''
substituteInPlace cmake_install.cmake \
--replace "${kdelibs4support}" "$out"
'';
meta = with lib; {
name = "RoundedSBE";
description = "Round corners and outline effect for Sierra Breeze Enhanced.";
homepage = "https://github.com/a-parhom/RoundedSBE";
license = licenses.gpl3;
maintainers = [ "chriscochrun" ];
platforms = platforms.all;
};
}