at 22.05-pre 754 B view raw
1{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, pyparsing, pytest }: 2 3buildPythonPackage rec { 4 version = "0.12"; 5 pname = "ezdxf"; 6 7 disabled = pythonOlder "3.5"; 8 9 src = fetchFromGitHub { 10 owner = "mozman"; 11 repo = "ezdxf"; 12 rev = "v${version}"; 13 sha256 = "1flcq96ljk5wqrmgsb4acflqzkg7rhlaxz0j5jxky9za0mj1x6dq"; 14 }; 15 16 checkInputs = [ pytest ]; 17 checkPhase = "pytest tests integration_tests"; 18 19 propagatedBuildInputs = [ pyparsing ]; 20 21 meta = with lib; { 22 description = "Python package to read and write DXF drawings (interface to the DXF file format)"; 23 homepage = "https://github.com/mozman/ezdxf/"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ hodapp ]; 26 platforms = platforms.unix; 27 }; 28}