Unverified Commit d11eec22 authored by K900's avatar K900 Committed by GitHub
Browse files

opencloud-desktop-shell-integration-dolphin: init at 1.0 (#404890)

parents 6724b0bf b6a57d86
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
{
  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;
  };
}
+35 −0
Original line number Diff line number Diff line
{
  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;
  };
}