Merge pull request #162105 from risicle/ris-expat-passthru-tests
expat: add some reverse dependencies to passthru.tests
This commit is contained in:
commit
9996dfac9a
@ -1,4 +1,13 @@
|
|||||||
{ stdenv, fetchurl, lib }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
# for passthru.tests
|
||||||
|
, python3
|
||||||
|
, perlPackages
|
||||||
|
, haskellPackages
|
||||||
|
, luaPackages
|
||||||
|
, ocamlPackages
|
||||||
|
}:
|
||||||
|
|
||||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||||
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
||||||
@ -34,6 +43,14 @@ stdenv.mkDerivation rec {
|
|||||||
--replace "$"'{_IMPORT_PREFIX}' $out
|
--replace "$"'{_IMPORT_PREFIX}' $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit python3;
|
||||||
|
inherit (haskellPackages) hexpat;
|
||||||
|
inherit (perlPackages) XMLSAXExpat XMLParser;
|
||||||
|
inherit (luaPackages) luaexpat;
|
||||||
|
inherit (ocamlPackages) ocaml_expat;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://libexpat.github.io/";
|
homepage = "https://libexpat.github.io/";
|
||||||
description = "A stream-oriented XML parser library written in C";
|
description = "A stream-oriented XML parser library written in C";
|
||||||
|
Loading…
Reference in New Issue
Block a user