1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, oldest-supported-numpy 5, scipy 6, numba 7}: 8 9buildPythonPackage rec { 10 pname = "quaternion"; 11 version = "2022.4.3"; 12 format = "pyproject"; 13 14 src = fetchFromGitHub { 15 owner = "moble"; 16 repo = pname; 17 rev = "refs/tags/v${version}"; 18 hash = "sha256-iLjVQ6eGwpLQXi8Sr5ShJdXMqYNclGEuq/oxR4ExDLA="; 19 }; 20 21 propagatedBuildInputs = [ 22 oldest-supported-numpy 23 numba 24 scipy 25 ]; 26 27 meta = with lib; { 28 description = "A package add built-in support for quaternions to numpy"; 29 homepage = "https://github.com/moble/quaternion"; 30 license = licenses.mit; 31 maintainers = [ maintainers.ocfox ]; 32 }; 33}