blob: 4542558e399e966fcb98274f64d2dc8a21f270fb (
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
44
45
46
47
48
49
50
51
52
53
|
{
stdenv,
lib,
fetchFromGitHub,
dtkwidget,
qt5integration,
qt5platform-plugins,
qmake,
qtbase,
qttools,
pkg-config,
wrapQtAppsHook,
}:
stdenv.mkDerivation rec {
pname = "deepin-shortcut-viewer";
version = "5.0.9";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-A4LFi0KcqChjgYrO90paMBAivv02TsRjYQ26I0k71x0=";
};
nativeBuildInputs = [
qmake
qttools
pkg-config
wrapQtAppsHook
];
buildInputs = [
qtbase
dtkwidget
qt5integration
qt5platform-plugins
];
qmakeFlags = [
"VERSION=${version}"
"PREFIX=${placeholder "out"}"
];
meta = with lib; {
description = "Deepin Shortcut Viewer";
mainProgram = "deepin-shortcut-viewer";
homepage = "https://github.com/linuxdeepin/deepin-shortcut-viewer";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
};
}
|