quaternion: init at 2022.4.3

This commit is contained in:
ocfox 2023-04-12 14:57:10 +08:00 committed by Weijia Wang
parent ebe441536e
commit 41867c08f8
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, oldest-supported-numpy
, scipy
, numba
}:
buildPythonPackage rec {
pname = "quaternion";
version = "2022.4.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "moble";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-iLjVQ6eGwpLQXi8Sr5ShJdXMqYNclGEuq/oxR4ExDLA=";
};
propagatedBuildInputs = [
oldest-supported-numpy
numba
scipy
];
meta = with lib; {
description = "A package add built-in support for quaternions to numpy";
homepage = "https://github.com/moble/quaternion";
license = licenses.mit;
maintainers = [ maintainers.ocfox ];
};
}

View file

@ -10941,6 +10941,8 @@ self: super: with self; {
quart-cors = callPackage ../development/python-modules/quart-cors { };
quaternion = callPackage ../development/python-modules/quaternion { };
qudida = callPackage ../development/python-modules/qudida { };
querystring_parser = callPackage ../development/python-modules/querystring-parser { };