python3Packages.ezdxf: enable more tests
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user