podofo{,0}: add changelog, use lib.cmakeBool, strictDeps, __structuredAttrs
This commit is contained in:
@@ -47,13 +47,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DPODOFO_BUILD_STATIC=${if stdenv.hostPlatform.isStatic then "ON" else "OFF"}"
|
||||
"-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON"
|
||||
(lib.cmakeBool "PODOFO_BUILD_STATIC" stdenv.hostPlatform.isStatic)
|
||||
(lib.cmakeBool "CMAKE_BUILD_WITH_INSTALL_NAME_DIR" true)
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/podofo/podofo";
|
||||
description = "Library to work with the PDF file format";
|
||||
changelog = "https://github.com/podofo/podofo/blob/${finalAttrs.version}/CHANGELOG.md";
|
||||
platforms = lib.platforms.all;
|
||||
license = with lib.licenses; [
|
||||
gpl2Plus
|
||||
|
||||
Reference in New Issue
Block a user