14 stdenv.mkDerivation rec {
15 pname = "krunner-symbols";
18 src = fetchFromGitHub {
20 repo = "krunner-symbols";
22 sha256 = "sha256-YsoZdPTWpk3/YERwerrVEcaf2IfGVJwpq32onhP8Exo=";
38 # symbols.cpp hardcodes the location of configuration files
39 substituteInPlace symbols.cpp \
40 --replace "/usr/share/config/krunner-symbol" "$out/share/config/krunner-symbol"
42 # change cmake flag names to output using the correct qt-plugin prefix and kservice location
43 substituteInPlace CMakeLists.txt \
44 --replace "LOCATION_PLUGIN" "KDE_INSTALL_PLUGINDIR" \
45 --replace "LOCATION_DESKTOP" "KDE_INSTALL_KSERVICES5DIR"
48 cmakeFlags = [ "-DLOCATION_CONFIG=share/config" ];
51 description = "Little krunner plugin (Plasma 5) to retrieve unicode symbols, or any other string, based on a corresponding keyword";
52 homepage = "https://github.com/domschrei/krunner-symbols";
53 license = licenses.gpl3Plus;
54 maintainers = with maintainers; [ hqurve ];
55 platforms = platforms.linux;