From 0d68fecae788ba6ca674663623d851166c5954ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Mon, 3 Oct 2016 18:54:34 -0300 Subject: [PATCH] lxqt-globalkeys: init at 0.11.0 --- .../lxqt/core/lxqt-globalkeys/default.nix | 38 +++++++++++++++++++ pkgs/desktops/lxqt/default.nix | 1 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/desktops/lxqt/core/lxqt-globalkeys/default.nix diff --git a/pkgs/desktops/lxqt/core/lxqt-globalkeys/default.nix b/pkgs/desktops/lxqt/core/lxqt-globalkeys/default.nix new file mode 100644 index 000000000000..7f1f140653fe --- /dev/null +++ b/pkgs/desktops/lxqt/core/lxqt-globalkeys/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "lxqt-globalkeys"; + version = "0.11.0"; + + srcs = fetchFromGitHub { + owner = "lxde"; + repo = pname; + rev = version; + sha256 = "05kcq21fyz7vnhh9k4nzhskgbghp1slsz14gh9anhya4a567xx0y"; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ + qt5.qtbase + qt5.qttools + qt5.qtx11extras + qt5.qtsvg + kde5.kwindowsystem + lxqt.liblxqt + lxqt.libqtxdg + ]; + + cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; + + postPatch = lxqt.standardPatch; + + meta = with stdenv.lib; { + description = "Daemon used to register global keyboard shortcuts"; + homepage = https://github.com/lxde/lxqt-globalkeys; + license = licenses.lgpl21; + maintainers = with maintainers; [ romildo ]; + platforms = with platforms; unix; + }; +} diff --git a/pkgs/desktops/lxqt/default.nix b/pkgs/desktops/lxqt/default.nix index 232d6ba92200..7c4eb63790fc 100644 --- a/pkgs/desktops/lxqt/default.nix +++ b/pkgs/desktops/lxqt/default.nix @@ -37,5 +37,6 @@ let lxqt-admin = callPackage ./core/lxqt-admin { }; lxqt-common = callPackage ./core/lxqt-common { }; lxqt-config = callPackage ./core/lxqt-config { }; + lxqt-globalkeys = callPackage ./core/lxqt-globalkeys { }; in self