Unverified Commit 46f645b7 authored by Thomas Gerbet's avatar Thomas Gerbet Committed by GitHub
Browse files

Merge pull request #294766 from risicle/ris-qpdf-passthru-tests

qpdf: add some key reverse-dependencies to passthru.tests
parents ba7beef1 01156661
Loading
Loading
Loading
Loading
+23 −1
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, libjpeg, zlib, cmake, perl }:
{ lib
, stdenv
, fetchFromGitHub
, cmake
, libjpeg
, perl
, zlib

# for passthru.tests
, cups-filters
, pdfmixtool
, pdfslicer
, python3
}:

stdenv.mkDerivation rec {
  pname = "qpdf";
@@ -24,6 +37,15 @@ stdenv.mkDerivation rec {

  doCheck = true;

  passthru.tests = {
    inherit (python3.pkgs) pikepdf;
    inherit
      cups-filters
      pdfmixtool
      pdfslicer
    ;
  };

  meta = with lib; {
    homepage = "https://qpdf.sourceforge.io/";
    description = "C++ library and set of programs that inspect and manipulate the structure of PDF files";