3
0
Fork 0
forked from mirrors/nixpkgs

qt5dxcb-plugin: init at 1.1.11 (#45966)

This commit is contained in:
José Romildo Malaquias 2018-09-03 16:37:54 -03:00 committed by xeji
parent 395d9077b2
commit 059c0ac6eb
2 changed files with 41 additions and 0 deletions

View file

@ -13,6 +13,7 @@ let
};
dtkcore = callPackage ./dtkcore { };
dtkwidget = callPackage ./dtkwidget { };
qt5dxcb-plugin = callPackage ./qt5dxcb-plugin { };
};

View file

@ -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 ];
};
}