summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/transforms3d/default.nix
blob: e540f8cdc0695b1efeab2901f86d276bde653331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  versioneer,
  pytestCheckHook,
  numpy,
  scipy,
  sympy,
}:

buildPythonPackage rec {
  pname = "transforms3d";
  version = "0.4.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "matthew-brett";
    repo = "transforms3d";
    tag = version;
    hash = "sha256-9wICu7zNYF54e6xcDpZxqctB4GVu5Knf79Z36016Rpw=";
  };

  build-system = [
    setuptools
    versioneer
  ];

  dependencies = [
    numpy
  ];

  nativeCheckInputs = [
    pytestCheckHook
    scipy
    sympy
  ];

  pythonImportsCheck = [ "transforms3d" ];

  meta = {
    homepage = "https://matthew-brett.github.io/transforms3d";
    description = "Convert between various geometric transformations";
    changelog = "https://github.com/matthew-brett/transforms3d/blob/main/Changelog";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ bcdarwin ];
  };
}