Unverified Commit 86b00a34 authored by h7x4's avatar h7x4 Committed by GitHub
Browse files

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

application-title-bar: refactor + package improvement
parents 45be0fcf 488f33f8
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -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;
  };
}
})