44 lines
964 B
Nix
44 lines
964 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qtx11extras, libSM,
|
|
mtdev, cairo, deepin }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "qt5dxcb-plugin";
|
|
version = "1.1.27";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxdeepin";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1hs7r17qsqn3hgfjd0scagpj1dqys7i1507vxadfac4h1ahyxaz7";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
qmake
|
|
];
|
|
|
|
buildInputs = [
|
|
qtx11extras
|
|
libSM
|
|
mtdev
|
|
cairo
|
|
];
|
|
|
|
preConfigure = ''
|
|
qmakeFlags="$qmakeFlags INSTALL_PATH=$out/$qtPluginPrefix/platforms"
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|