nixpkgs/pkgs/desktops/lxqt/lxqt-globalkeys/default.nix
2022-09-27 23:41:53 -03:00

51 lines
870 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtbase
, qttools
, qtx11extras
, qtsvg
, kwindowsystem
, liblxqt
, libqtxdg
, gitUpdater
}:
mkDerivation rec {
pname = "lxqt-globalkeys";
version = "1.1.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "6io6gH+n7dodTDQjvCqxjvaafQ4E9H7kx+s2QiAm3mY=";
};
nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [
qtbase
qttools
qtx11extras
qtsvg
kwindowsystem
liblxqt
libqtxdg
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-globalkeys";
description = "LXQt service for global keyboard shortcuts registration";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = teams.lxqt.members;
};
}