blob: e909169a0854d7181a37de366b74fc2fd9963fdd (
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
|
{
stdenv,
lib,
fetchFromGitHub,
pkg-config,
qmake,
qttools,
wrapQtAppsHook,
poppler,
pugixml,
libzip,
libuuid,
tinyxml-2,
}:
stdenv.mkDerivation rec {
pname = "docparser";
version = "1.0.11";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
hash = "sha256-shZXhs9ncgm6rECvCWrLi26RO1WAc1gRowoYmeKesfk=";
};
nativeBuildInputs = [
qmake
qttools
pkg-config
wrapQtAppsHook
];
buildInputs = [
poppler
pugixml
libzip
libuuid
tinyxml-2
];
qmakeFlags = [ "VERSION=${version}" ];
meta = {
description = "Document parser library ported from document2html";
homepage = "https://github.com/linuxdeepin/docparser";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = lib.teams.deepin.members;
};
}
|