Merge pull request #130588 from hqurve/krunner-symbols

authored by

Sandro and committed by
GitHub
63372614 fb7b11e5

+48
+6
maintainers/maintainer-list.nix
··· 4355 4355 github = "HolgerPeters"; 4356 4356 githubId = 4097049; 4357 4357 }; 4358 + hqurve = { 4359 + email = "hqurve@outlook.com"; 4360 + github = "hqurve"; 4361 + githubId = 53281855; 4362 + name = "hqurve"; 4363 + }; 4358 4364 hrdinka = { 4359 4365 email = "c.nix@hrdinka.at"; 4360 4366 github = "hrdinka";
+40
pkgs/desktops/plasma-5/3rdparty/addons/krunner-symbols.nix
··· 1 + { lib, stdenv 2 + , cmake, fetchFromGitHub, extra-cmake-modules 3 + , qtbase, wrapQtAppsHook, ki18n, kdelibs4support, krunner 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "krunner-symbols"; 8 + version = "1.1.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "domschrei"; 12 + repo = "krunner-symbols"; 13 + rev = version; 14 + sha256 = "sha256-YsoZdPTWpk3/YERwerrVEcaf2IfGVJwpq32onhP8Exo="; 15 + }; 16 + 17 + buildInputs = [ qtbase ki18n kdelibs4support krunner ]; 18 + nativeBuildInputs = [ cmake wrapQtAppsHook extra-cmake-modules ]; 19 + 20 + postPatch = '' 21 + # symbols.cpp hardcodes the location of configuration files 22 + substituteInPlace symbols.cpp \ 23 + --replace "/usr/share/config/krunner-symbol" "$out/share/config/krunner-symbol" 24 + 25 + # change cmake flag names to output using the correct qt-plugin prefix and kservice location 26 + substituteInPlace CMakeLists.txt \ 27 + --replace "LOCATION_PLUGIN" "KDE_INSTALL_PLUGINDIR" \ 28 + --replace "LOCATION_DESKTOP" "KDE_INSTALL_KSERVICES5DIR" 29 + ''; 30 + 31 + cmakeFlags = [ "-DLOCATION_CONFIG=share/config" ]; 32 + 33 + meta = with lib; { 34 + description = "A little krunner plugin (Plasma 5) to retrieve unicode symbols, or any other string, based on a corresponding keyword"; 35 + homepage = "https://github.com/domschrei/krunner-symbols"; 36 + license = licenses.gpl3Only; 37 + maintainers = with maintainers; [ hqurve ]; 38 + platforms = platforms.linux; 39 + }; 40 + }
+1
pkgs/desktops/plasma-5/default.nix
··· 158 158 kwin-dynamic-workspaces = callPackage ./3rdparty/kwin/scripts/dynamic-workspaces.nix { }; 159 159 kwin-tiling = callPackage ./3rdparty/kwin/scripts/tiling.nix { }; 160 160 krohnkite = callPackage ./3rdparty/kwin/scripts/krohnkite.nix { }; 161 + krunner-symbols = callPackage ./3rdparty/addons/krunner-symbols.nix { }; 161 162 parachute = callPackage ./3rdparty/kwin/scripts/parachute.nix { }; 162 163 }; 163 164
+1
pkgs/top-level/aliases.nix
··· 1135 1135 kwin-dynamic-workspaces 1136 1136 kwin-tiling 1137 1137 krohnkite 1138 + krunner-symbols 1138 1139 ; 1139 1140 inherit (libsForQt5) 1140 1141 sddm