From 74b3da7ce7b2a6d94c8234de4ab2038a76f63e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Mon, 3 Oct 2016 18:53:03 -0300 Subject: [PATCH] lxqt-common: init at 0.11.0 --- .../lxqt/core/lxqt-common/default.nix | 41 +++++++++++++++++++ pkgs/desktops/lxqt/default.nix | 1 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/desktops/lxqt/core/lxqt-common/default.nix diff --git a/pkgs/desktops/lxqt/core/lxqt-common/default.nix b/pkgs/desktops/lxqt/core/lxqt-common/default.nix new file mode 100644 index 00000000000..b8076042a04 --- /dev/null +++ b/pkgs/desktops/lxqt/core/lxqt-common/default.nix @@ -0,0 +1,41 @@ +{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, xorg, hicolor_icon_theme, xmessage }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "lxqt-common"; + version = "0.11.0"; + + src = fetchFromGitHub { + owner = "lxde"; + repo = pname; + rev = version; + sha256 = "14nx3zcknwsn713wdnmb2xl15vf21vh13kxscdwmfnd48m5j4m3b"; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ + qt5.qtx11extras + qt5.qttools + qt5.qtsvg + kde5.kwindowsystem + lxqt.liblxqt + lxqt.libqtxdg + hicolor_icon_theme + xmessage + ]; + + postPatch = lxqt.standardPatch + + '' + substituteInPlace ./startlxqt.in \ + --replace xmessage "${xmessage}"/bin/xmessage + ''; + + meta = with stdenv.lib; { + description = "Common files for LXQt"; + homepage = https://github.com/lxde/lxqt-common; + 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 8b5348a0704..7fba900ddd3 100644 --- a/pkgs/desktops/lxqt/default.nix +++ b/pkgs/desktops/lxqt/default.nix @@ -35,5 +35,6 @@ let libfm-qt = callPackage ./core/libfm-qt { }; lxqt-about = callPackage ./core/lxqt-about { }; lxqt-admin = callPackage ./core/lxqt-admin { }; + lxqt-common = callPackage ./core/lxqt-common { }; in self