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

42 lines
943 B
Nix
Raw Normal View History

2017-02-25 16:44:29 +01:00
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, standardPatch, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg }:
2016-10-03 23:54:34 +02:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-globalkeys";
2017-02-19 14:08:45 +01:00
version = "0.11.1";
2016-10-03 23:54:34 +02:00
srcs = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
2017-02-19 14:08:45 +01:00
sha256 = "1kwibll2azi4pafk7crfgibk5a54rnsia3c4cz680iny7xz1wy6h";
2016-10-03 23:54:34 +02:00
};
2017-02-19 14:08:45 +01:00
nativeBuildInputs = [
cmake
2017-02-25 16:44:29 +01:00
lxqt-build-tools
2017-02-19 14:08:45 +01:00
];
2016-10-03 23:54:34 +02:00
buildInputs = [
2017-02-25 16:44:29 +01:00
qtbase
qttools
qtx11extras
qtsvg
kwindowsystem
liblxqt
libqtxdg
2016-10-03 23:54:34 +02:00
];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
2017-02-25 16:44:29 +01:00
postPatch = standardPatch;
2016-10-03 23:54:34 +02: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 14:08:45 +01:00
maintainers = with maintainers; [ romildo ];
2016-10-03 23:54:34 +02:00
};
}