fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
43 lines
823 B
Nix
43 lines
823 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|