2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, pyparsing, pytest }:
|
2017-04-24 22:14:24 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-06 15:31:16 +01:00
|
|
|
version = "0.12";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "ezdxf";
|
2017-04-24 22:14:24 +01:00
|
|
|
|
2019-04-26 23:50:38 +01:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
2017-04-25 22:22:53 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mozman";
|
|
|
|
repo = "ezdxf";
|
|
|
|
rev = "v${version}";
|
2020-05-06 15:31:16 +01:00
|
|
|
sha256 = "1flcq96ljk5wqrmgsb4acflqzkg7rhlaxz0j5jxky9za0mj1x6dq";
|
2017-04-24 22:14:24 +01:00
|
|
|
};
|
|
|
|
|
2019-04-26 23:50:38 +01:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = "pytest tests integration_tests";
|
2017-04-25 22:22:53 +01:00
|
|
|
|
2017-04-24 22:14:24 +01:00
|
|
|
propagatedBuildInputs = [ pyparsing ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-04-24 22:14:24 +01:00
|
|
|
description = "Python package to read and write DXF drawings (interface to the DXF file format)";
|
2020-02-26 21:34:10 +00:00
|
|
|
homepage = "https://github.com/mozman/ezdxf/";
|
2017-04-24 22:14:24 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|