Merge pull request #314018 from GaetanLepage/svgelements

python311Packages.svgelements: fix tests
This commit is contained in:
Connor Baker 2024-05-23 15:02:19 -04:00 committed by GitHub
commit 7881030b88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 ];
};
}