nixpkgs/pkgs/desktops/lxqt/lxqt-globalkeys/default.nix

52 lines
920 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtbase
, qttools
, qtx11extras
, qtsvg
, kwindowsystem
, liblxqt
, libqtxdg
, lxqtUpdateScript
}:
2016-10-03 21:54:34 +00:00
mkDerivation rec {
2016-10-03 21:54:34 +00:00
pname = "lxqt-globalkeys";
2022-01-11 15:01:44 +00:00
version = "1.0.1";
2016-10-03 21:54:34 +00:00
2017-11-02 01:55:19 +00:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-03 21:54:34 +00:00
repo = pname;
rev = version;
2022-01-11 15:01:44 +00:00
sha256 = "ccvDcEstSUVvJ7gf0bsCxCPPMRXSkZh+tKOKWNnzMt4=";
2016-10-03 21:54:34 +00:00
};
2017-02-19 13:08:45 +00:00
nativeBuildInputs = [
cmake
2017-02-25 15:44:29 +00:00
lxqt-build-tools
2017-02-19 13:08:45 +00:00
];
2016-10-03 21:54:34 +00:00
buildInputs = [
2017-02-25 15:44:29 +00:00
qtbase
qttools
qtx11extras
qtsvg
kwindowsystem
liblxqt
libqtxdg
2016-10-03 21:54:34 +00:00
];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-globalkeys";
description = "LXQt service for global keyboard shortcuts registration";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
2017-02-19 13:08:45 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-03 21:54:34 +00:00
};
}