biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / spatialmath-python / default.nix
blob259383492a25f185d6379b271dd075d8abf8de3b
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   oldest-supported-numpy,
7   setuptools,
8   ansitable,
9   matplotlib,
10   numpy,
11   scipy,
12   typing-extensions,
13   coverage,
14   flake8,
15   pytest,
16   pytest-timeout,
17   pytest-xvfb,
18   sympy,
19   pytestCheckHook,
22 buildPythonPackage rec {
23   pname = "spatialmath-python";
24   version = "1.1.10";
25   pyproject = true;
27   disabled = pythonOlder "3.7";
29   src = fetchPypi {
30     pname = "spatialmath_python";
31     inherit version;
32     hash = "sha256-7h29RHCrxdexpabtxMQx/7RahQmCDGHhdJ1WETvtfYg=";
33   };
35   nativeBuildInputs = [
36     oldest-supported-numpy
37     setuptools
38   ];
40   pythonRemoveDeps = [ "pre-commit" ];
42   propagatedBuildInputs = [
43     ansitable
44     matplotlib
45     numpy
46     scipy
47     typing-extensions
48   ];
50   optional-dependencies = {
51     dev = [
52       coverage
53       flake8
54       pytest
55       pytest-timeout
56       pytest-xvfb
57       sympy
58     ];
59   };
61   pythonImportsCheck = [ "spatialmath" ];
63   nativeCheckInputs = [ pytestCheckHook ];
65   meta = with lib; {
66     description = "Provides spatial maths capability for Python";
67     homepage = "https://pypi.org/project/spatialmath-python/";
68     license = licenses.mit;
69     maintainers = with maintainers; [
70       djacu
71       a-camarillo
72     ];
73   };