From 2fb3885d5623f9a7d4eaeb62a672d8bdaa4b2e89 Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 6 May 2025 21:30:34 +0300 Subject: [PATCH 1/2] opencloud-desktop-shell-integration-resources: init at 1.0.0 --- .../package.nix | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pkgs/by-name/op/opencloud-desktop-shell-integration-resources/package.nix diff --git a/pkgs/by-name/op/opencloud-desktop-shell-integration-resources/package.nix b/pkgs/by-name/op/opencloud-desktop-shell-integration-resources/package.nix new file mode 100644 index 000000000000..13a9c593090d --- /dev/null +++ b/pkgs/by-name/op/opencloud-desktop-shell-integration-resources/package.nix @@ -0,0 +1,35 @@ +{ + lib, + stdenv, + fetchFromGitHub, + cmake, + kdePackages, +}: + +stdenv.mkDerivation rec { + pname = "opencloud-desktop-shell-integration-resources"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "opencloud-eu"; + repo = "desktop-shell-integration-resources"; + tag = "v${version}"; + hash = "sha256-TqJanrAKD3aNQu5jL1Dt0bn84dYBNGImAKBGsAY2xeU="; + }; + + buildInputs = [ + kdePackages.extra-cmake-modules + ]; + + nativeBuildInputs = [ + cmake + ]; + + meta = { + description = "Shared assets for OpenCloud desktop shell integrations"; + homepage = "https://github.com/opencloud-eu/desktop-shell-integration-resources"; + license = lib.licenses.gpl2Only; + maintainers = with lib.maintainers; [ k900 ]; + platforms = lib.platforms.all; + }; +} From b6a57d861fbfdcfbf24323259a707e20fd415f42 Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 6 May 2025 21:36:04 +0300 Subject: [PATCH 2/2] opencloud-desktop-shell-integration-dolphin: init at 1.0.0 --- .../package.nix | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 pkgs/by-name/op/opencloud-desktop-shell-integration-dolphin/package.nix diff --git a/pkgs/by-name/op/opencloud-desktop-shell-integration-dolphin/package.nix b/pkgs/by-name/op/opencloud-desktop-shell-integration-dolphin/package.nix new file mode 100644 index 000000000000..d8c3f666c639 --- /dev/null +++ b/pkgs/by-name/op/opencloud-desktop-shell-integration-dolphin/package.nix @@ -0,0 +1,45 @@ +{ + lib, + stdenv, + fetchFromGitHub, + cmake, + qt6, + kdePackages, + opencloud-desktop-shell-integration-resources, +}: + +stdenv.mkDerivation rec { + pname = "opencloud-desktop-shell-integration-dolphin"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "opencloud-eu"; + repo = "desktop-shell-integration-dolphin"; + tag = "v${version}"; + hash = "sha256-+Bu/kN4RvR/inWQHYcfWOF6BWHTFm5jlea/QeT4NhFQ="; + }; + + buildInputs = [ + qt6.qtbase + kdePackages.extra-cmake-modules + kdePackages.kbookmarks + kdePackages.kcoreaddons + kdePackages.kio + opencloud-desktop-shell-integration-resources + ]; + + nativeBuildInputs = [ + cmake + ]; + + dontWrapQtApps = true; + + meta = { + description = "This is the OpenCloud Desktop shell integration for the great KDE Dolphin in KDE Frameworks 6"; + homepage = "https://github.com/opencloud-eu/desktop-shell-integration-dolphin"; + license = lib.licenses.gpl2Only; + maintainers = with lib.maintainers; [ k900 ]; + mainProgram = "opencloud-desktop-shell-integration-dolphin"; + platforms = lib.platforms.all; + }; +}