87f9c27ba9
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
42 lines
729 B
Nix
42 lines
729 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, qmake
|
|
, pkg-config
|
|
, libchardet
|
|
, lcms2
|
|
, openjpeg
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "deepin-pdfium";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxdeepin";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-gUIQ+fZ7VaYaIj1hbzER10ceoJZbvhJlnDTFIShMrKw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
qmake
|
|
pkg-config
|
|
];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
buildInputs = [
|
|
libchardet
|
|
lcms2
|
|
openjpeg
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "development library for pdf on deepin";
|
|
homepage = "https://github.com/linuxdeepin/deepin-pdfium";
|
|
license = licenses.lgpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = teams.deepin.members;
|
|
};
|
|
}
|