Unverified Commit 400503bc authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

emoji-runner: init at 3.0.5 (#479812)

parents fd828f43 f6aa2a62
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -13986,6 +13986,13 @@
    github = "kkoniuszy";
    githubId = 120419423;
  };
  Kladki = {
    name = "Matthias Ahouansou";
    email = "matthias@ahouansou.cz";
    github = "Kladki";
    githubId = 158313939;
    matrix = "@matthias:ahouansou.cz";
  };
  klchen0112 = {
    name = "klchen0112";
    email = "klchen0112@gmail.com";
+56 −0
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  fetchFromGitHub,
  cmake,
  kdePackages,
  nix-update-script,
  gettext,
}:
stdenv.mkDerivation (finalAttrs: {
  pname = "emoji-runner";
  version = "3.0.5";

  src = fetchFromGitHub {
    owner = "alex1701c";
    repo = "EmojiRunner";
    tag = finalAttrs.version;
    hash = "sha256-Rt7Z0uEbzqRKxV1EpDr//RYaVr3D+Nj+7JS3EAO+hsM=";
  };

  dontWrapQtApps = true;

  buildInputs = with kdePackages; [
    ki18n
    kservice
    krunner
    ktextwidgets
    kcmutils
    kconfigwidgets
  ];

  nativeBuildInputs = [
    cmake
    gettext
    kdePackages.extra-cmake-modules
  ];

  strictDeps = true;

  cmakeFlags = [
    "-DBUILD_TESTING=OFF"
    "-DBUILD_WITH_QT6=ON"
    "-DQT_MAJOR_VERSION=6"
  ];

  passthru.updateScript = nix-update-script { };

  meta = {
    changelog = "https://github.com/alex1701c/EmojiRunner/releases/tag/${finalAttrs.version}";
    description = "Search for emojis in Krunner and copy/paste them";
    homepage = "https://github.com/alex1701c/EmojiRunner";
    license = lib.licenses.lgpl3Only;
    maintainers = with lib.maintainers; [ Kladki ];
    inherit (kdePackages.krunner.meta) platforms;
  };
})