Commit 462ae9fa authored by tu-maurice's avatar tu-maurice
Browse files

perl538Packages.CSSDOM: fix test

t/css-dom.t was deactivated because it failed due to deprecated syntax. This
commit uses an upstream patch to fix the syntax and activate the test again.
parent f9391924
Loading
Loading
Loading
Loading
+1412 −0

File added.

Preview size limit exceeded, changes collapsed.

+7 −3
Original line number Diff line number Diff line
@@ -5619,10 +5619,14 @@ with self; {
      url = "mirror://cpan/authors/id/S/SP/SPROUT/CSS-DOM-0.17.tar.gz";
      hash = "sha256-Zbl46/PDmF5V7jK7baHp+upJSoXTAFxjuux+lphZ8CY=";
    };
    patches = [
      # Replace apostrophe as package separator
      # https://rt.cpan.org/Public/Bug/Display.html?id=146661
      ../development/perl-modules/CSSDOM-replace-apostrophe.patch
    ];
    propagatedBuildInputs = [ Clone ];
    preCheck = ''
      rm t/css-dom.t # Remove test that fails due to deprecated package separator warning
    '';
    meta = {
      description = "Document Object Model for Cascading Style Sheets";
      license = with lib.licenses; [ artistic1 gpl1Plus ];