f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
34 lines
675 B
Nix
34 lines
675 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
oldest-supported-numpy,
|
|
scipy,
|
|
numba,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "quaternion";
|
|
version = "2023.0.4";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "moble";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-i+UPi+DrhItplfc6EvDhmr3CEH2/cHODoHVBElM7jY8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
oldest-supported-numpy
|
|
numba
|
|
scipy
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Package add built-in support for quaternions to numpy";
|
|
homepage = "https://github.com/moble/quaternion";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.ocfox ];
|
|
};
|
|
}
|