blob: c05eedd8857a273300255ffc2c9b130372c42d25 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qtx11extras, dtkcore,
deepin }:
mkDerivation rec {
name = "${pname}-${version}";
pname = "dtkwm";
version = "2.0.11";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "10l89i84vsh5knq9wg2php7vfg5rj5c9hrrl9rjlcidn1rz8yx6f";
};
nativeBuildInputs = [
pkgconfig
qmake
];
buildInputs = [
dtkcore
qtx11extras
];
outRef = placeholder "out";
qmakeFlags = [
"QT_HOST_DATA=${outRef}"
"INCLUDE_INSTALL_DIR=${outRef}/include"
"LIB_INSTALL_DIR=${outRef}/lib"
];
passthru.updateScript = deepin.updateScript { inherit name; };
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 ];
};
}
|