Unverified Commit 28f65125 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python312Packages.quaternion: 2024.0.3 -> 2024.0.8 (#400573)

parents d59c488f a7c2d9a5
Loading
Loading
Loading
Loading
+33 −12
Original line number Diff line number Diff line
@@ -2,33 +2,54 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  oldest-supported-numpy,

  # build-system
  hatchling,
  numpy,
  setuptools,

  # dependencies
  scipy,
  numba,

  # tests
  pytest-cov-stub,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "quaternion";
  version = "2024.0.3";
  format = "pyproject";
  version = "2024.0.8";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "moble";
    repo = pname;
    repo = "quaternion";
    tag = "v${version}";
    hash = "sha256-3UVqeiGcdsjQQpVRhcDBf1N0XJw+Xe/Pp+4lmGzl8ws=";
    hash = "sha256-Le9i7oFPcBuZw/oNwCxz3svzKg9zREk4peIJadTiJ/M=";
  };

  propagatedBuildInputs = [
    oldest-supported-numpy
    numba
  build-system = [
    hatchling
    numpy
    setuptools
  ];

  dependencies = [
    numpy
    scipy
  ];

  meta = with lib; {
  pythonImportsCheck = [ "quaternion" ];

  nativeCheckInputs = [
    pytest-cov-stub
    pytestCheckHook
  ];

  meta = {
    description = "Package add built-in support for quaternions to numpy";
    homepage = "https://github.com/moble/quaternion";
    license = licenses.mit;
    maintainers = [ maintainers.ocfox ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ ocfox ];
  };
}