1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #318103 from HeitorAugustoLN/application-title-bar-0.6.2

application-title-bar: init at 0.6.2
This commit is contained in:
Peder Bergebakken Sundt 2024-06-13 00:13:35 +02:00 committed by GitHub
commit d76cff3789
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 42 additions and 0 deletions

View file

@ -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";

View file

@ -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;
};
}