Merge pull request #225847 from ocfox/quaternion

python3Packages.quaternion: init at 2022.4.3
This commit is contained in:
Nick Cao 2023-09-06 12:20:10 -04:00 committed by GitHub
commit 2c52b830d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 { };