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

42 lines
943 B
Nix
Raw Normal View History

2017-02-25 15:44:29 +00:00
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, standardPatch, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg }:
2016-10-03 21:54:34 +00:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-globalkeys";
2017-02-19 13:08:45 +00:00
version = "0.11.1";
2016-10-03 21:54:34 +00:00
srcs = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
2017-02-19 13:08:45 +00:00
sha256 = "1kwibll2azi4pafk7crfgibk5a54rnsia3c4cz680iny7xz1wy6h";
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
];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
2017-02-25 15:44:29 +00:00
postPatch = standardPatch;
2016-10-03 21:54:34 +00:00
meta = with stdenv.lib; {
description = "Daemon used to register global keyboard shortcuts";
homepage = https://github.com/lxde/lxqt-globalkeys;
license = licenses.lgpl21;
platforms = with platforms; unix;
2017-02-19 13:08:45 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-03 21:54:34 +00:00
};
}