Merge pull request #323848 from HeitorAugustoLN/application-title-bar-improvement

application-title-bar: refactor + package improvement
This commit is contained in:
h7x4 2024-07-02 18:34:51 +02:00 committed by GitHub
commit 86b00a3422
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,14 +4,14 @@
, kdePackages
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "application-title-bar";
version = "0.6.3";
src = fetchFromGitHub {
owner = "antroids";
repo = "application-title-bar";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-r15wZCioWrTr5mA0WARFd4j8zwWIWU4wEv899RSURa4=";
};
@ -22,15 +22,15 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
mkdir -p $out/share/plasma/plasmoids/com.github.antroids.application-title-bar
cp -r $src/package/* $out/share/plasma/plasmoids/com.github.antroids.application-title-bar
cp -r package/* $out/share/plasma/plasmoids/com.github.antroids.application-title-bar
runHook postInstall
'';
meta = with lib; {
meta = {
description = "KDE Plasma6 widget with window controls";
homepage = "https://github.com/antroids/application-title-bar";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ HeitorAugustoLN ];
platforms = platforms.linux;
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ HeitorAugustoLN ];
inherit (kdePackages.kwindowsystem.meta) platforms;
};
}
})