Files
nixpkgs/pkgs/development/python-modules/cantools/default.nix
T
Martin Weinelt 554fc0a062 python3Packages.cantools: 40.2.3 -> 40.3.0
https://github.com/cantools/cantools/releases/tag/40.3.0

This commit was automatically generated using update-python-libraries.
2025-08-09 18:58:46 +02:00

64 lines
1.1 KiB
Nix

{
lib,
argparse-addons,
bitstruct,
buildPythonPackage,
python-can,
crccheck,
diskcache,
fetchPypi,
matplotlib,
parameterized,
pytestCheckHook,
pythonOlder,
setuptools,
setuptools-scm,
textparser,
}:
buildPythonPackage rec {
pname = "cantools";
version = "40.3.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-xucuPUaMi3ECi+vPR3MFcE74F95eTWlGS/CNIoi+gSU=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
argparse-addons
bitstruct
python-can
crccheck
diskcache
textparser
];
optional-dependencies.plot = [ matplotlib ];
nativeCheckInputs = [
parameterized
pytestCheckHook
]
++ optional-dependencies.plot;
pythonImportsCheck = [ "cantools" ];
meta = with lib; {
description = "Tools to work with CAN bus";
mainProgram = "cantools";
homepage = "https://github.com/cantools/cantools";
changelog = "https://github.com/cantools/cantools/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ gray-heron ];
};
}