mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
python3Packages.spatialmath-python: init at 1.1.10
Co-authored-by: Anthony Camarillo <anthony.camarillo.96@gmail.com>
This commit is contained in:
parent
cadf473b34
commit
e6aa19a9ce
@ -0,0 +1,76 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
oldest-supported-numpy,
|
||||
setuptools,
|
||||
ansitable,
|
||||
matplotlib,
|
||||
numpy,
|
||||
scipy,
|
||||
typing-extensions,
|
||||
coverage,
|
||||
flake8,
|
||||
pytest,
|
||||
pytest-timeout,
|
||||
pytest-xvfb,
|
||||
sympy,
|
||||
pytestCheckHook,
|
||||
pythonRelaxDepsHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spatialmath-python";
|
||||
version = "1.1.10";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "spatialmath_python";
|
||||
inherit version;
|
||||
hash = "sha256-7h29RHCrxdexpabtxMQx/7RahQmCDGHhdJ1WETvtfYg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
oldest-supported-numpy
|
||||
setuptools
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRemoveDeps = [ "pre-commit" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ansitable
|
||||
matplotlib
|
||||
numpy
|
||||
scipy
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
dev = [
|
||||
coverage
|
||||
flake8
|
||||
pytest
|
||||
pytest-timeout
|
||||
pytest-xvfb
|
||||
sympy
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "spatialmath" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Provides spatial maths capability for Python";
|
||||
homepage = "https://pypi.org/project/spatialmath-python/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
djacu
|
||||
a-camarillo
|
||||
];
|
||||
};
|
||||
}
|
@ -14538,6 +14538,8 @@ self: super: with self; {
|
||||
|
||||
spatial-image = callPackage ../development/python-modules/spatial-image { };
|
||||
|
||||
spatialmath-python = callPackage ../development/python-modules/spatialmath-python { };
|
||||
|
||||
spdx = callPackage ../development/python-modules/spdx { };
|
||||
|
||||
spdx-lookup = callPackage ../development/python-modules/spdx-lookup { };
|
||||
|
Loading…
Reference in New Issue
Block a user