2019-07-22 03:53:18 +01:00
|
|
|
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qtx11extras, dtkcore,
|
2018-10-30 22:17:45 +00:00
|
|
|
deepin }:
|
2018-09-10 07:47:17 +01:00
|
|
|
|
2019-07-22 03:53:18 +01:00
|
|
|
mkDerivation rec {
|
2018-09-10 07:47:17 +01:00
|
|
|
pname = "dtkwm";
|
2019-05-04 12:42:00 +01:00
|
|
|
version = "2.0.11";
|
2018-09-10 07:47:17 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-05-04 12:42:00 +01:00
|
|
|
sha256 = "10l89i84vsh5knq9wg2php7vfg5rj5c9hrrl9rjlcidn1rz8yx6f";
|
2018-09-10 07:47:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
qmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dtkcore
|
|
|
|
qtx11extras
|
|
|
|
];
|
|
|
|
|
2019-07-22 04:26:05 +01:00
|
|
|
outRef = placeholder "out";
|
|
|
|
|
|
|
|
qmakeFlags = [
|
|
|
|
"QT_HOST_DATA=${outRef}"
|
|
|
|
"INCLUDE_INSTALL_DIR=${outRef}/include"
|
|
|
|
"LIB_INSTALL_DIR=${outRef}/lib"
|
|
|
|
];
|
2018-09-10 07:47:17 +01:00
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
|
2018-10-30 22:17:45 +00:00
|
|
|
|
2018-09-10 07:47:17 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Deepin graphical user interface library";
|
|
|
|
homepage = https://github.com/linuxdeepin/dtkwm;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|