lol

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

+9 -9
+9 -9
pkgs/development/python-modules/transforms3d/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , isPy27 5 - , pytest 4 + , pythonOlder 5 + , pytestCheckHook 6 6 , numpy 7 7 , scipy 8 8 , sympy ··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "transforms3d"; 13 - version = "unstable-2019-12-17"; 13 + version = "0.4.1"; 14 + format = "setuptools"; 14 15 15 - disabled = isPy27; 16 + disabled = pythonOlder "3.7"; 16 17 17 - # no Git tag or PyPI release in some time 18 18 src = fetchFromGitHub { 19 19 owner = "matthew-brett"; 20 20 repo = pname; 21 - rev = "6b20250c610249914ca5e3a3a2964c36ca35c19a"; 22 - sha256 = "1z789hgk71a6rj6mqp9srpzamg06g58hs2p1l1p344cfnkj5a4kc"; 21 + rev = "refs/tags/${version}"; 22 + hash = "sha256-GgnjvwAfyxnDfBGvgMFIPPbR88BWFiNGrScVORygq94="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [ numpy sympy ]; 26 26 27 - nativeCheckInputs = [ pytest scipy ]; 28 - checkPhase = "pytest transforms3d"; 27 + nativeCheckInputs = [ pytestCheckHook scipy ]; 28 + pythonImportsCheck = [ "transforms3d" ]; 29 29 30 30 meta = with lib; { 31 31 homepage = "https://matthew-brett.github.io/transforms3d";