1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 setuptools,
7 versioneer,
8 pytestCheckHook,
9 numpy,
10 scipy,
11 sympy,
12}:
13
14buildPythonPackage rec {
15 pname = "transforms3d";
16 version = "0.4.2";
17 pyproject = true;
18
19 disabled = pythonOlder "3.7";
20
21 src = fetchFromGitHub {
22 owner = "matthew-brett";
23 repo = "transforms3d";
24 tag = version;
25 hash = "sha256-9wICu7zNYF54e6xcDpZxqctB4GVu5Knf79Z36016Rpw=";
26 };
27
28 build-system = [
29 setuptools
30 versioneer
31 ];
32
33 dependencies = [
34 numpy
35 ];
36
37 nativeCheckInputs = [
38 pytestCheckHook
39 scipy
40 sympy
41 ];
42
43 pythonImportsCheck = [ "transforms3d" ];
44
45 meta = with lib; {
46 homepage = "https://matthew-brett.github.io/transforms3d";
47 description = "Convert between various geometric transformations";
48 changelog = "https://github.com/matthew-brett/transforms3d/blob/main/Changelog";
49 license = licenses.bsd2;
50 maintainers = with maintainers; [ bcdarwin ];
51 };
52}