3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/deepin/qt5dxcb-plugin/default.nix

44 lines
978 B
Nix
Raw Normal View History

{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qtx11extras, libSM,
2019-07-22 04:23:25 +01:00
mtdev, cairo, deepin, qtbase }:
mkDerivation rec {
name = "${pname}-${version}";
pname = "qt5dxcb-plugin";
2019-06-22 13:26:35 +01:00
version = "1.2.2";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
2019-06-22 13:26:35 +01:00
sha256 = "1zvab6qxdr49pmk6mbk7s0md7bx585p32lca0xbg8mrkajz7g8rq";
};
nativeBuildInputs = [
pkgconfig
qmake
];
buildInputs = [
qtx11extras
libSM
mtdev
cairo
];
2019-07-22 04:23:25 +01:00
qmakeFlags = [
"INSTALL_PATH=${placeholder ''out''}/${qtbase.qtPluginPrefix}/platforms"
];
enableParallelBuilding = true;
2018-10-30 22:17:45 +00:00
passthru.updateScript = deepin.updateScript { inherit name; };
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 ];
};
}