Merge pull request #162105 from risicle/ris-expat-passthru-tests

expat: add some reverse dependencies to passthru.tests

authored by Robert Scott and committed by GitHub 9996dfac fbf2e10a

+18 -1
+18 -1
pkgs/development/libraries/expat/default.nix
··· 1 - { stdenv, fetchurl, lib }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + # for passthru.tests 5 + , python3 6 + , perlPackages 7 + , haskellPackages 8 + , luaPackages 9 + , ocamlPackages 10 + }: 2 11 3 12 # Note: this package is used for bootstrapping fetchurl, and thus 4 13 # cannot use fetchpatch! All mutable patches (generated by GitHub or ··· 33 42 substituteInPlace $dev/lib/cmake/expat-${version}/expat-noconfig.cmake \ 34 43 --replace "$"'{_IMPORT_PREFIX}' $out 35 44 ''; 45 + 46 + passthru.tests = { 47 + inherit python3; 48 + inherit (haskellPackages) hexpat; 49 + inherit (perlPackages) XMLSAXExpat XMLParser; 50 + inherit (luaPackages) luaexpat; 51 + inherit (ocamlPackages) ocaml_expat; 52 + }; 36 53 37 54 meta = with lib; { 38 55 homepage = "https://libexpat.github.io/";