diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2018-09-03 16:37:54 -0300 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-03 21:37:54 +0200 |
commit | 059c0ac6eb814fba9677c7a2393bd8d870950230 (patch) | |
tree | bd0dc72257c1c1e01f05753c83f2c5e2199ee8ee /pkgs/desktops | |
parent | 395d9077b2dfdd6e44cd0fa27101d3f3183d7361 (diff) |
qt5dxcb-plugin: init at 1.1.11 (#45966)
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/deepin/default.nix | 1 | ||||
-rw-r--r-- | pkgs/desktops/deepin/qt5dxcb-plugin/default.nix | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/desktops/deepin/default.nix b/pkgs/desktops/deepin/default.nix index 0162f85c37f0c..3343d836f61af 100644 --- a/pkgs/desktops/deepin/default.nix +++ b/pkgs/desktops/deepin/default.nix @@ -13,6 +13,7 @@ let }; dtkcore = callPackage ./dtkcore { }; dtkwidget = callPackage ./dtkwidget { }; + qt5dxcb-plugin = callPackage ./qt5dxcb-plugin { }; }; diff --git a/pkgs/desktops/deepin/qt5dxcb-plugin/default.nix b/pkgs/desktops/deepin/qt5dxcb-plugin/default.nix new file mode 100644 index 0000000000000..3754de3ea9808 --- /dev/null +++ b/pkgs/desktops/deepin/qt5dxcb-plugin/default.nix @@ -0,0 +1,40 @@ +{ stdenv, fetchFromGitHub, pkgconfig, qmake, qtx11extras, libSM, mtdev, cairo }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "qt5dxcb-plugin"; + version = "1.1.11"; + + src = fetchFromGitHub { + owner = "linuxdeepin"; + repo = pname; + rev = version; + sha256 = "157p2cqs9fvd4n4fmxj6mh4cxlc35bkl4rnf832wk2gvjnxdfrfy"; + }; + + nativeBuildInputs = [ + pkgconfig + qmake + ]; + + buildInputs = [ + qtx11extras + libSM + mtdev + cairo + ]; + + preConfigure = '' + qmakeFlags="$qmakeFlags INSTALL_PATH=$out/$qtPluginPrefix/platforms" + ''; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + description = "Qt platform theme integration plugin for DDE"; + homepage = https://github.com/linuxdeepin/qt5dxcb-plugin; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ romildo ]; + }; +} |