podofo_1_0: init at 1.0.0
This commit is contained in:
parent
6fff083f64
commit
81ac1d425d
66
pkgs/by-name/po/podofo_1_0/package.nix
Normal file
66
pkgs/by-name/po/podofo_1_0/package.nix
Normal file
@ -0,0 +1,66 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
fontconfig,
|
||||
freetype,
|
||||
libjpeg,
|
||||
libpng,
|
||||
libtiff,
|
||||
libxml2,
|
||||
openssl,
|
||||
pkg-config,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "podofo";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "podofo";
|
||||
repo = "podofo";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-DtbTaPNXjVRl1KU0NH/Sd2j9y3OZlUQGOYYJL3bTQQg=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
fontconfig
|
||||
freetype
|
||||
libjpeg
|
||||
libpng
|
||||
libtiff
|
||||
libxml2
|
||||
openssl
|
||||
zlib
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DPODOFO_BUILD_STATIC=${if stdenv.hostPlatform.isStatic then "ON" else "OFF"}"
|
||||
"-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/podofo/podofo";
|
||||
description = "Library to work with the PDF file format";
|
||||
platforms = lib.platforms.all;
|
||||
license = with lib.licenses; [
|
||||
gpl2Plus
|
||||
lgpl2Plus
|
||||
];
|
||||
maintainers = with lib.maintainers; [
|
||||
kuflierl
|
||||
];
|
||||
};
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user