Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 723 B view raw
1{ stdenv, buildPythonPackage, fetchFromGitHub, pyparsing, pytest }: 2 3buildPythonPackage rec { 4 version = "0.8.8"; 5 pname = "ezdxf"; 6 7 src = fetchFromGitHub { 8 owner = "mozman"; 9 repo = "ezdxf"; 10 rev = "v${version}"; 11 sha256 = "0ap6f6vy71s3y0a048r5ca98i7p8nc9l0mx3mngvvpvjij7j3fcf"; 12 }; 13 14 buildInputs = [ pytest ]; 15 checkPhase = "python -m unittest discover -s tests"; 16 17 propagatedBuildInputs = [ pyparsing ]; 18 19 meta = with stdenv.lib; { 20 description = "Python package to read and write DXF drawings (interface to the DXF file format)"; 21 homepage = https://github.com/mozman/ezdxf/; 22 license = licenses.mit; 23 maintainers = with maintainers; [ hodapp ]; 24 platforms = platforms.unix; 25 }; 26}