python311Packages.transforms3d: unstable-2019-12-17 -> 0.4.1; unbreak

This commit is contained in:
Ben Darwin 2023-05-10 23:19:11 -04:00
parent 1780cbef72
commit 5f1b5f38f2

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";