2019-04-26 22:50:38 +00:00
|
|
|
{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, pyparsing, pytest }:
|
2017-04-24 21:14:24 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-04-26 22:50:38 +00:00
|
|
|
version = "0.9";
|
2017-05-27 09:25:35 +00:00
|
|
|
pname = "ezdxf";
|
2017-04-24 21:14:24 +00:00
|
|
|
|
2019-04-26 22:50:38 +00:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
2017-04-25 21:22:53 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mozman";
|
|
|
|
repo = "ezdxf";
|
|
|
|
rev = "v${version}";
|
2019-04-26 22:50:38 +00:00
|
|
|
sha256 = "1ggimjd9060b696sgzgxy9j9sl45wh9qbxnf0035qclafshprlzl";
|
2017-04-24 21:14:24 +00:00
|
|
|
};
|
|
|
|
|
2019-04-26 22:50:38 +00:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = "pytest tests integration_tests";
|
2017-04-25 21:22:53 +00:00
|
|
|
|
2017-04-24 21:14:24 +00: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 21:34:45 +00:00
|
|
|
maintainers = with maintainers; [ hodapp ];
|
2017-04-24 21:14:24 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|