python3Packages.ezdxf: enable more tests

This commit is contained in:
Martin Joerg
2025-12-11 14:32:22 +00:00
parent 5f419f6241
commit fd10c63ae3
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pyparsing,
@@ -14,6 +15,7 @@
matplotlib,
pymupdf,
pyqt5,
librecad,
}:
buildPythonPackage rec {
@@ -65,6 +67,15 @@ buildPythonPackage rec {
"ezdxf.addons"
];
preCheck = ''
ln -s "${librecad}/${
if stdenv.hostPlatform.isDarwin then
"Applications/LibreCAD.app/Contents/Resources"
else
"share/librecad"
}/fonts" fonts/librecad
'';
meta = {
description = "Python package to read and write DXF drawings (interface to the DXF file format)";
mainProgram = "ezdxf";