From 5c10c263009e757a9e6aa56a5fa1b02f44398426 Mon Sep 17 00:00:00 2001 From: js6pak Date: Mon, 23 Dec 2024 03:51:45 +0100 Subject: [PATCH] jetbrains-runner: init at 3.0.4 --- pkgs/by-name/je/jetbrains-runner/package.nix | 53 ++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 pkgs/by-name/je/jetbrains-runner/package.nix diff --git a/pkgs/by-name/je/jetbrains-runner/package.nix b/pkgs/by-name/je/jetbrains-runner/package.nix new file mode 100644 index 0000000000000..364223be29260 --- /dev/null +++ b/pkgs/by-name/je/jetbrains-runner/package.nix @@ -0,0 +1,53 @@ +{ + stdenv, + lib, + fetchFromGitHub, + cmake, + kdePackages, + nix-update-script, +}: +stdenv.mkDerivation rec { + pname = "jetbrains-runner"; + version = "3.0.4"; + + src = fetchFromGitHub { + owner = "alex1701c"; + repo = "JetBrainsRunner"; + rev = version; + hash = "sha256-uLUtxKGXa8MjpdrT7X0EpRCWQTBYm8mt0NcyOLoGd5Y="; + fetchSubmodules = true; + }; + + dontWrapQtApps = true; + + buildInputs = with kdePackages; [ + ki18n + kservice + krunner + ktextwidgets + kio + kcmutils + ]; + + nativeBuildInputs = [ + cmake + kdePackages.extra-cmake-modules + ]; + + cmakeFlags = [ + "-DBUILD_TESTING=OFF" + "-DBUILD_WITH_QT6=ON" + "-DQT_MAJOR_VERSION=6" + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Krunner Plugin which allows you to open your recent JetBrains projects"; + homepage = "https://github.com/alex1701c/JetBrainsRunner"; + sourceProvenance = with lib.sourceTypes; [ fromSource ]; + license = lib.licenses.lgpl3Only; + maintainers = with lib.maintainers; [ js6pak ]; + inherit (kdePackages.krunner.meta) platforms; + }; +}