Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
67 lines
1.2 KiB
Nix
67 lines
1.2 KiB
Nix
{
|
|
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";
|
|
};
|
|
}
|