1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 pytestCheckHook,
7 numpy,
8 scipy,
9 sympy,
10}:
11
12buildPythonPackage rec {
13 pname = "transforms3d";
14 version = "0.4.1";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchFromGitHub {
20 owner = "matthew-brett";
21 repo = pname;
22 rev = "refs/tags/${version}";
23 hash = "sha256-GgnjvwAfyxnDfBGvgMFIPPbR88BWFiNGrScVORygq94=";
24 };
25
26 propagatedBuildInputs = [
27 numpy
28 sympy
29 ];
30
31 nativeCheckInputs = [
32 pytestCheckHook
33 scipy
34 ];
35 pythonImportsCheck = [ "transforms3d" ];
36
37 meta = with lib; {
38 homepage = "https://matthew-brett.github.io/transforms3d";
39 description = "Convert between various geometric transformations";
40 license = licenses.bsd2;
41 maintainers = with maintainers; [ bcdarwin ];
42 };
43}