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 }: 2 3 # Note: this package is used for bootstrapping fetchurl, and thus 4 # cannot use fetchpatch! All mutable patches (generated by GitHub or ··· 33 substituteInPlace $dev/lib/cmake/expat-${version}/expat-noconfig.cmake \ 34 --replace "$"'{_IMPORT_PREFIX}' $out 35 ''; 36 37 meta = with lib; { 38 homepage = "https://libexpat.github.io/";
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + # for passthru.tests 5 + , python3 6 + , perlPackages 7 + , haskellPackages 8 + , luaPackages 9 + , ocamlPackages 10 + }: 11 12 # Note: this package is used for bootstrapping fetchurl, and thus 13 # cannot use fetchpatch! All mutable patches (generated by GitHub or ··· 42 substituteInPlace $dev/lib/cmake/expat-${version}/expat-noconfig.cmake \ 43 --replace "$"'{_IMPORT_PREFIX}' $out 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 + }; 53 54 meta = with lib; { 55 homepage = "https://libexpat.github.io/";