Commit 2c695d49 authored by Gaetan Lepage's avatar Gaetan Lepage Committed by github-actions[bot]
Browse files

python311Packages.svgelements: fix tests

(cherry picked from commit afffe11b)
parent fe7d83b7
Loading
Loading
Loading
Loading
+13 −4
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,
  setuptools,
  wheel,
  anyio,
@@ -25,7 +26,15 @@ buildPythonPackage rec {
    hash = "sha256-nx2sGXeeh8S17TfRDFifQbdSxc4YGsDNnrPSSbxv7S4=";
  };

  nativeBuildInputs = [
  patches = [
    (fetchpatch {
      name = "fix-assert-tests";
      url = "https://github.com/meerk40t/svgelements/commit/23da98941a94cf1afed39c10750222ccfee73c9f.patch";
      hash = "sha256-/53w4eWlaSNEQxuoAxPrN2HciZ3Az2A2SKcIAlNgKAs=";
    })
  ];

  build-system = [
    setuptools
    wheel
  ];
@@ -42,10 +51,10 @@ buildPythonPackage rec {
    scipy
  ];

  meta = with lib; {
  meta = {
    description = "SVG Parsing for Elements, Paths, and other SVG Objects";
    homepage = "https://github.com/meerk40t/svgelements";
    license = licenses.mit;
    maintainers = with maintainers; [ GaetanLepage ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}