diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2016-10-03 18:53:03 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2016-10-06 08:02:37 -0300 |
commit | 74b3da7ce7b2a6d94c8234de4ab2038a76f63e98 (patch) | |
tree | 84a585b25788c17f35ea02df29a48f27efe6f20f /pkgs/desktops/lxqt | |
parent | 708dec170ef0034a281c26c6d621d37753ec165b (diff) | |
download | nixlib-74b3da7ce7b2a6d94c8234de4ab2038a76f63e98.tar nixlib-74b3da7ce7b2a6d94c8234de4ab2038a76f63e98.tar.gz nixlib-74b3da7ce7b2a6d94c8234de4ab2038a76f63e98.tar.bz2 nixlib-74b3da7ce7b2a6d94c8234de4ab2038a76f63e98.tar.lz nixlib-74b3da7ce7b2a6d94c8234de4ab2038a76f63e98.tar.xz nixlib-74b3da7ce7b2a6d94c8234de4ab2038a76f63e98.tar.zst nixlib-74b3da7ce7b2a6d94c8234de4ab2038a76f63e98.zip |
lxqt-common: init at 0.11.0
Diffstat (limited to 'pkgs/desktops/lxqt')
-rw-r--r-- | pkgs/desktops/lxqt/core/lxqt-common/default.nix | 41 | ||||
-rw-r--r-- | pkgs/desktops/lxqt/default.nix | 1 |
2 files changed, 42 insertions, 0 deletions
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 000000000000..b8076042a049 --- /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 8b5348a07045..7fba900ddd3e 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 |