Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 79 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, pyparsing, typing-extensions, pytestCheckHook, setuptools, cython, numpy, fonttools, pillow, pyside6, matplotlib, pymupdf, pyqt5,}:
buildPythonPackage rec { version = "1.3.2"; pname = "ezdxf";
pyproject = true;
disabled = pythonOlder "3.5";
src = fetchFromGitHub { owner = "mozman"; repo = "ezdxf"; tag = "v${version}"; hash = "sha256-BzdLl2GjLh2ABJzJ6bhdbic9jlSABIVR3XGrYiLJHa0="; };
dependencies = [ pyparsing typing-extensions numpy fonttools ];
optional-dependencies = { draw = [ pyside6 matplotlib pymupdf pillow ]; draw5 = [ pyqt5 matplotlib pymupdf pillow ]; };
build-system = [ setuptools cython ];
checkInputs = [ pillow ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ezdxf" "ezdxf.addons" ];
meta = with lib; { description = "Python package to read and write DXF drawings (interface to the DXF file format)"; mainProgram = "ezdxf"; homepage = "https://github.com/mozman/ezdxf/"; license = licenses.mit; maintainers = with maintainers; [ hodapp ]; platforms = platforms.unix; };}