Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / quaternion / default.nix
blobad53a085d3277e8f71591b5cb14e784bcffcf2b1
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , oldest-supported-numpy
5 , scipy
6 , numba
7 }:
9 buildPythonPackage rec {
10   pname = "quaternion";
11   version = "2022.4.3";
12   format = "pyproject";
14   src = fetchFromGitHub {
15     owner = "moble";
16     repo = pname;
17     rev = "refs/tags/v${version}";
18     hash = "sha256-iLjVQ6eGwpLQXi8Sr5ShJdXMqYNclGEuq/oxR4ExDLA=";
19   };
21   propagatedBuildInputs = [
22     oldest-supported-numpy
23     numba
24     scipy
25   ];
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   };