nixpkgs/pkgs/development/python-modules/transforms3d/default.nix
Ben Darwin a9803a28af python312Packages.transforms3d: 0.4.1 -> 0.4.2
Unbreaks the package due to added numpy 2.x support.
2024-12-28 20:54:42 -05:00

52 lines
963 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
versioneer,
pytestCheckHook,
numpy,
scipy,
sympy,
}:
buildPythonPackage rec {
pname = "transforms3d";
version = "0.4.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "matthew-brett";
repo = pname;
tag = version;
hash = "sha256-9wICu7zNYF54e6xcDpZxqctB4GVu5Knf79Z36016Rpw=";
};
build-system = [
setuptools
versioneer
];
dependencies = [
numpy
];
nativeCheckInputs = [
pytestCheckHook
scipy
sympy
];
pythonImportsCheck = [ "transforms3d" ];
meta = with lib; {
homepage = "https://matthew-brett.github.io/transforms3d";
description = "Convert between various geometric transformations";
changelog = "https://github.com/matthew-brett/transforms3d/blob/main/Changelog";
license = licenses.bsd2;
maintainers = with maintainers; [ bcdarwin ];
};
}