Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 28 lines 761 B view raw
1{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, pyparsing, pytest }: 2 3buildPythonPackage rec { 4 version = "0.9"; 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 = "1ggimjd9060b696sgzgxy9j9sl45wh9qbxnf0035qclafshprlzl"; 14 }; 15 16 checkInputs = [ pytest ]; 17 checkPhase = "pytest tests integration_tests"; 18 19 propagatedBuildInputs = [ pyparsing ]; 20 21 meta = with stdenv.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}