Merge pull request #314018 from GaetanLepage/svgelements
python311Packages.svgelements: fix tests
This commit is contained in:
commit
7881030b88
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user