diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index caf101dbf487..1c7e1e59ac27 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -8218,6 +8218,12 @@ matrix = "@heisfer:matrix.org"; name = "Heisfer"; }; + HeitorAugustoLN = { + email = "IAm.HeitorALN@proton.me"; + github = "HeitorAugustoLN"; + githubId = 44377258; + name = "Heitor Augusto"; + }; helium = { email = "helium.dev@tuta.io"; github = "helium18"; diff --git a/pkgs/by-name/ap/application-title-bar/package.nix b/pkgs/by-name/ap/application-title-bar/package.nix new file mode 100644 index 000000000000..382e5b87f929 --- /dev/null +++ b/pkgs/by-name/ap/application-title-bar/package.nix @@ -0,0 +1,36 @@ +{ lib +, stdenv +, fetchFromGitHub +, kdePackages +}: + +stdenv.mkDerivation rec { + pname = "application-title-bar"; + version = "0.6.2"; + + src = fetchFromGitHub { + owner = "antroids"; + repo = "application-title-bar"; + rev = "v${version}"; + hash = "sha256-KKODCfLL+T4NdflxUFP++TO3OtQWJpLHAnUVqmvIzrg="; + }; + + propagatedUserEnvPkgs = with kdePackages; [ kconfig ]; + + dontWrapQtApps = true; + + 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 + runHook postInstall + ''; + + meta = with lib; { + 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; + }; +}