mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
d93fee8b20
The deepin desktop environment requires both qt5 and qt6, deepin scope should not inherit from qt5
50 lines
872 B
Nix
50 lines
872 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
libsForQt5,
|
|
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 = [
|
|
libsForQt5.qmake
|
|
libsForQt5.qttools
|
|
pkg-config
|
|
libsForQt5.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;
|
|
};
|
|
}
|