application-title-bar: init at 0.6.2

This commit is contained in:
Heitor Augusto
2024-06-12 17:01:05 +00:00
parent 5d1e29267b
commit 28924ee101
@@ -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;
};
}