19 stdenv.mkDerivation (finalAttrs: {
23 src = fetchFromGitHub {
26 rev = finalAttrs.version;
27 hash = "sha256-BHTfidLn738f9kVIgzRTR4vY6fx5JPPtYNKvD7klyGw=";
30 outputs = [ "out" "dev" "lib" ];
52 "-DPODOFO_BUILD_STATIC=${if stdenv.hostPlatform.isStatic then "ON" else "OFF"}"
53 "-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON"
57 moveToOutput lib "$lib"
61 homepage = "https://github.com/podofo/podofo";
62 description = "A library to work with the PDF file format";
63 platforms = lib.platforms.all;
64 license = with lib.licenses; [ gpl2Plus lgpl2Plus ];