tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
docparser: init at 1.0.3
authored by
rewine
and committed by
rewine
3 years ago
211d1584
7d5b5077
+41
2 changed files
expand all
collapse all
unified
split
pkgs
desktops
deepin
default.nix
library
docparser
default.nix
+1
pkgs/desktops/deepin/default.nix
···
12
12
qt5platform-plugins = callPackage ./library/qt5platform-plugins { };
13
13
qt5integration = callPackage ./library/qt5integration { };
14
14
disomaster = callPackage ./library/disomaster { };
15
15
+
docparser = callPackage ./library/docparser { };
15
16
};
16
17
in
17
18
lib.makeScope libsForQt5.newScope packages
+40
pkgs/desktops/deepin/library/docparser/default.nix
···
1
1
+
{ stdenv
2
2
+
, lib
3
3
+
, fetchFromGitHub
4
4
+
, pkg-config
5
5
+
, qmake
6
6
+
, qttools
7
7
+
, wrapQtAppsHook
8
8
+
, poppler
9
9
+
}:
10
10
+
11
11
+
stdenv.mkDerivation rec {
12
12
+
pname = "docparser";
13
13
+
version = "1.0.3";
14
14
+
15
15
+
src = fetchFromGitHub {
16
16
+
owner = "linuxdeepin";
17
17
+
repo = pname;
18
18
+
rev = version;
19
19
+
sha256 = "sha256-iWRWSu8fALTTLLWdQGbpunN/1tpvKxuN/ZWJg34x0mU=";
20
20
+
};
21
21
+
22
22
+
nativeBuildInputs = [
23
23
+
qmake
24
24
+
qttools
25
25
+
pkg-config
26
26
+
wrapQtAppsHook
27
27
+
];
28
28
+
29
29
+
buildInputs = [ poppler ];
30
30
+
31
31
+
qmakeFlags = [ "VERSION=${version}" ];
32
32
+
33
33
+
meta = with lib; {
34
34
+
description = "A document parser library ported from document2html";
35
35
+
homepage = "https://github.com/linuxdeepin/docparser";
36
36
+
license = licenses.gpl3Plus;
37
37
+
platforms = platforms.linux;
38
38
+
maintainers = teams.deepin.members;
39
39
+
};
40
40
+
}