1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/desktops/deepin/qt5integration/default.nix

66 lines
1.3 KiB
Nix
Raw Normal View History

2020-05-03 20:52:19 +01:00
{ stdenv
, mkDerivation
, fetchFromGitHub
, pkgconfig
, qmake
, mtdev
, lxqt
, qtx11extras
, qtmultimedia
, qtsvg
, qt5platform-plugins
2020-05-03 20:52:19 +01:00
, qtstyleplugins
, dtkcore
, dtkwidget
, deepin
}:
2018-09-03 23:22:57 +01:00
mkDerivation rec {
2018-09-03 23:22:57 +01:00
pname = "qt5integration";
2019-11-12 02:24:57 +00:00
version = "5.0.0";
2018-09-03 23:22:57 +01:00
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "140wb3vcm2ji8jhqdxv8f4shiknia1zk8fssqlp09kzc1cmb4ncy";
2018-09-03 23:22:57 +01:00
};
nativeBuildInputs = [
pkgconfig
qmake
];
buildInputs = [
dtkcore
dtkwidget
qt5platform-plugins
2018-09-03 23:22:57 +01:00
mtdev
lxqt.libqtxdg
qtstyleplugins
qtx11extras
qtmultimedia
qtsvg
];
postPatch = ''
sed -i dstyleplugin/dstyleplugin.pro \
platformthemeplugin/qt5deepintheme-plugin.pro \
iconengineplugins/svgiconengine/svgiconengine.pro \
imageformatplugins/svg/svg.pro \
-e "s,\$\$\[QT_INSTALL_PLUGINS\],$out/$qtPluginPrefix,"
'';
enableParallelBuilding = true;
passthru.updateScript = deepin.updateScript { inherit pname version src; };
2018-10-30 22:17:45 +00:00
2018-09-03 23:22:57 +01:00
meta = with stdenv.lib; {
description = "Qt platform theme integration plugins for DDE";
homepage = "https://github.com/linuxdeepin/qt5integration";
2018-09-03 23:22:57 +01:00
license = with licenses; [ gpl3 lgpl2Plus bsd2 ];
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}