From 5d1e29267b7825eeea296f635c8feabcc076ae05 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Wed, 12 Jun 2024 16:59:35 +0000 Subject: [PATCH 1/2] maintainers: add HeitorAugustoLN --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 58e31f454f06..1e9ad010d0af 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -8192,6 +8192,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"; From 28924ee1014b8d13e4789a892106fd8f5dbf4bc5 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Wed, 12 Jun 2024 17:01:05 +0000 Subject: [PATCH 2/2] application-title-bar: init at 0.6.2 --- .../ap/application-title-bar/package.nix | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/ap/application-title-bar/package.nix 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; + }; +}