qhotkey: init at 1.5.0-unstable-2025-07-06

This commit is contained in:
David Mkhitaryan 2025-08-10 11:35:28 +02:00 committed by dmkhitaryan
parent 73da1baabe
commit 61d57f8bb4
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{
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;
};
})

View File

@ -88,6 +88,7 @@ makeScopeWithSplicing' {
qcoro = callPackage ../development/libraries/qcoro { };
qcustomplot = callPackage ../development/libraries/qcustomplot { };
qgpgme = callPackage ../development/libraries/gpgme { };
qhotkey = callPackage ../development/libraries/qhotkey { };
qmlbox2d = callPackage ../development/libraries/qmlbox2d { };
packagekit-qt = callPackage ../tools/package-management/packagekit/qt.nix { };