Merge pull request #231211 from bcdarwin/unbreak-update-transforms3d

python311Packages.transforms3d: unstable-2019-12-17 -> 0.4.1; unbreak
This commit is contained in:
Martin Weinelt 2023-05-11 08:09:09 +02:00 committed by GitHub
commit 72bb57a6ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, pytest
, pythonOlder
, pytestCheckHook
, numpy
, scipy
, sympy
@ -10,22 +10,22 @@
buildPythonPackage rec {
pname = "transforms3d";
version = "unstable-2019-12-17";
version = "0.4.1";
format = "setuptools";
disabled = isPy27;
disabled = pythonOlder "3.7";
# no Git tag or PyPI release in some time
src = fetchFromGitHub {
owner = "matthew-brett";
repo = pname;
rev = "6b20250c610249914ca5e3a3a2964c36ca35c19a";
sha256 = "1z789hgk71a6rj6mqp9srpzamg06g58hs2p1l1p344cfnkj5a4kc";
rev = "refs/tags/${version}";
hash = "sha256-GgnjvwAfyxnDfBGvgMFIPPbR88BWFiNGrScVORygq94=";
};
propagatedBuildInputs = [ numpy sympy ];
nativeCheckInputs = [ pytest scipy ];
checkPhase = "pytest transforms3d";
nativeCheckInputs = [ pytestCheckHook scipy ];
pythonImportsCheck = [ "transforms3d" ];
meta = with lib; {
homepage = "https://matthew-brett.github.io/transforms3d";