mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #224038 from wineee/deepin-pdfium
This commit is contained in:
commit
cbf82c7a58
@ -18,6 +18,7 @@ let
|
|||||||
dtkcore = callPackage ./library/dtkcore { };
|
dtkcore = callPackage ./library/dtkcore { };
|
||||||
dtkgui = callPackage ./library/dtkgui { };
|
dtkgui = callPackage ./library/dtkgui { };
|
||||||
dtkwidget = callPackage ./library/dtkwidget { };
|
dtkwidget = callPackage ./library/dtkwidget { };
|
||||||
|
deepin-pdfium = callPackage ./library/deepin-pdfium { };
|
||||||
qt5platform-plugins = callPackage ./library/qt5platform-plugins { };
|
qt5platform-plugins = callPackage ./library/qt5platform-plugins { };
|
||||||
qt5integration = callPackage ./library/qt5integration { };
|
qt5integration = callPackage ./library/qt5integration { };
|
||||||
deepin-wayland-protocols = callPackage ./library/deepin-wayland-protocols { };
|
deepin-wayland-protocols = callPackage ./library/deepin-wayland-protocols { };
|
||||||
|
42
pkgs/desktops/deepin/library/deepin-pdfium/default.nix
Normal file
42
pkgs/desktops/deepin/library/deepin-pdfium/default.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user