mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 23:03:41 +00:00
python3Packages.ezxdf: 0.12 -> 0.18.1
This commit is contained in:
parent
b1bc570518
commit
7994821acc
@ -1,22 +1,49 @@
|
||||
{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, pyparsing, pytest }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, pyparsing
|
||||
, typing-extensions
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.12";
|
||||
version = "0.18.1";
|
||||
pname = "ezdxf";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozman";
|
||||
repo = "ezdxf";
|
||||
rev = "v${version}";
|
||||
sha256 = "1flcq96ljk5wqrmgsb4acflqzkg7rhlaxz0j5jxky9za0mj1x6dq";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-x1p9dWrbDtDreXdBuzOA4Za+ZC40y4xdEU7MGb9uUec=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = "pytest tests integration_tests";
|
||||
propagatedBuildInputs = [
|
||||
pyparsing
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ pyparsing ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# requires geomdl dependency
|
||||
"TestNurbsPythonCorrectness"
|
||||
"test_rational_spline_curve_points_by_nurbs_python"
|
||||
"test_rational_spline_derivatives_by_nurbs_python"
|
||||
"test_from_nurbs_python_curve_to_ezdxf_bspline"
|
||||
"test_from_ezdxf_bspline_to_nurbs_python_curve_non_rational"
|
||||
"test_from_ezdxf_bspline_to_nurbs_python_curve_rational"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ezdxf"
|
||||
"ezdxf.addons"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python package to read and write DXF drawings (interface to the DXF file format)";
|
||||
|
Loading…
Reference in New Issue
Block a user