2017-04-25 22:22:53 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchFromGitHub, pyparsing, pytest }:
|
2017-04-24 22:14:24 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-10-24 13:58:37 +01:00
|
|
|
version = "0.8.8";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "ezdxf";
|
2017-04-24 22:14:24 +01:00
|
|
|
|
2017-04-25 22:22:53 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mozman";
|
|
|
|
repo = "ezdxf";
|
|
|
|
rev = "v${version}";
|
2018-10-24 13:58:37 +01:00
|
|
|
sha256 = "0ap6f6vy71s3y0a048r5ca98i7p8nc9l0mx3mngvvpvjij7j3fcf";
|
2017-04-24 22:14:24 +01:00
|
|
|
};
|
|
|
|
|
2017-04-25 22:22:53 +01:00
|
|
|
buildInputs = [ pytest ];
|
|
|
|
checkPhase = "python -m unittest discover -s tests";
|
|
|
|
|
2017-04-24 22:14:24 +01:00
|
|
|
propagatedBuildInputs = [ pyparsing ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python package to read and write DXF drawings (interface to the DXF file format)";
|
|
|
|
homepage = https://github.com/mozman/ezdxf/;
|
|
|
|
license = licenses.mit;
|
2017-04-25 22:34:45 +01:00
|
|
|
maintainers = with maintainers; [ hodapp ];
|
2017-04-24 22:14:24 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|