mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #323848 from HeitorAugustoLN/application-title-bar-improvement
application-title-bar: refactor + package improvement
This commit is contained in:
commit
86b00a3422
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user