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
41 lines
850 B
Nix
41 lines
850 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
qtbase,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "qhotkey";
|
|
version = "1.5.0-unstable-2025-07-06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Skycoder42";
|
|
repo = "qhotkey";
|
|
rev = "6c0e98492c59206139f8490706aadeb8ed033057";
|
|
hash = "sha256-F+NTVYIB55GlB+p9mgDvJD86n0xOOKMGCRDM8TtnMpo=";
|
|
};
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
cmakeFlags = [
|
|
"-DQT_DEFAULT_MAJOR_VERSION=${lib.versions.major qtbase.version}"
|
|
];
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/Skycoder42/QHotkey";
|
|
description = "Global shortcut/hotkey for Desktop Qt-Applications";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ dmkhitaryan ];
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
|
};
|
|
})
|