Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

67 lines
1.2 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
ninja,
qtbase,
qtsvg,
qttools,
qtdeclarative,
libXfixes,
libXtst,
qtwayland,
wayland,
pkg-config,
wrapQtAppsHook,
kdePackages,
}:
stdenv.mkDerivation rec {
pname = "CopyQ";
version = "11.0.0";
src = fetchFromGitHub {
owner = "hluk";
repo = "CopyQ";
rev = "v${version}";
hash = "sha256-/t+8YsqeX0tlxwQDDNTalttCDIgGhpLbzYe3UqY04xM=";
};
nativeBuildInputs = [
cmake
ninja
kdePackages.extra-cmake-modules
wrapQtAppsHook
pkg-config
];
buildInputs = [
qtbase
qtsvg
qttools
qtdeclarative
libXfixes
libXtst
qtwayland
wayland
kdePackages.kconfig
kdePackages.kstatusnotifieritem
kdePackages.knotifications
];
cmakeFlags = [
(lib.cmakeBool "WITH_QT6" true)
];
meta = {
homepage = "https://hluk.github.io/CopyQ";
description = "Clipboard Manager with Advanced Features";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ artturin ];
# NOTE: CopyQ supports windows and osx, but I cannot test these.
platforms = lib.platforms.linux;
mainProgram = "copyq";
};
}