blob: 6bab6a5148b51ab5f601bde61d4d05d102e938f1 (
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, numpy
, scipy
, sympy
}:
buildPythonPackage rec {
pname = "transforms3d";
version = "0.4.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "matthew-brett";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-GgnjvwAfyxnDfBGvgMFIPPbR88BWFiNGrScVORygq94=";
};
propagatedBuildInputs = [ numpy sympy ];
nativeCheckInputs = [ pytestCheckHook scipy ];
pythonImportsCheck = [ "transforms3d" ];
meta = with lib; {
homepage = "https://matthew-brett.github.io/transforms3d";
description = "Convert between various geometric transformations";
license = licenses.bsd2;
maintainers = with maintainers; [ bcdarwin ];
};
}
|