bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
36 lines
933 B
Nix
36 lines
933 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, kdePackages
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "application-title-bar";
|
|
version = "0.6.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "antroids";
|
|
repo = "application-title-bar";
|
|
rev = "v${version}";
|
|
hash = "sha256-r15wZCioWrTr5mA0WARFd4j8zwWIWU4wEv899RSURa4=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|