depot/third_party/nixpkgs/pkgs/development/python-modules/quaternion/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

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 ];
};
}