1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, isPy27 5, pytest 6, numpy 7, scipy 8, sympy 9}: 10 11buildPythonPackage rec { 12 pname = "transforms3d"; 13 version = "unstable-2019-12-17"; 14 15 disabled = isPy27; 16 17 # no Git tag or PyPI release in some time 18 src = fetchFromGitHub { 19 owner = "matthew-brett"; 20 repo = pname; 21 rev = "6b20250c610249914ca5e3a3a2964c36ca35c19a"; 22 sha256 = "1z789hgk71a6rj6mqp9srpzamg06g58hs2p1l1p344cfnkj5a4kc"; 23 }; 24 25 propagatedBuildInputs = [ numpy sympy ]; 26 27 checkInputs = [ pytest scipy ]; 28 checkPhase = "pytest transforms3d"; 29 30 meta = with lib; { 31 homepage = "https://matthew-brett.github.io/transforms3d"; 32 description = "Convert between various geometric transformations"; 33 license = licenses.bsd2; 34 maintainers = with maintainers; [ bcdarwin ]; 35 }; 36}