2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, pyparsing, pytest }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "0.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ezdxf";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mozman";
|
|
|
|
repo = "ezdxf";
|
|
|
|
rev = "v${version}";
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "1flcq96ljk5wqrmgsb4acflqzkg7rhlaxz0j5jxky9za0mj1x6dq";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = "pytest tests integration_tests";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyparsing ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Python package to read and write DXF drawings (interface to the DXF file format)";
|
|
|
|
homepage = "https://github.com/mozman/ezdxf/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ hodapp ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|