Files
nixpkgs/pkgs/development/python-modules/cantools/default.nix
Fabian Affolter a4821e4327 python3Packages.cantools: 41.3.1 -> 41.4.3
https://github.com/cantools/cantools/releases/tag/41.4.3

This commit was automatically generated using update-python-libraries.
2026-08-25 01:24:12 +02:00

63 lines
1.2 KiB
Nix

{
lib,
argparse-addons,
bitstruct,
buildPythonPackage,
python-can,
crccheck,
diskcache,
fetchPypi,
matplotlib,
parameterized,
pytest-freezegun,
pytestCheckHook,
setuptools,
setuptools-scm,
textparser,
}:
buildPythonPackage (finalAttrs: {
pname = "cantools";
version = "41.4.3";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-pGYo2pWo13KyNcaEhwyzLVNLl9LQ68erB5+E1N9aKeU=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
argparse-addons
bitstruct
python-can
crccheck
diskcache
textparser
];
optional-dependencies.plot = [ matplotlib ];
nativeCheckInputs = [
parameterized
pytest-freezegun
pytestCheckHook
]
++ finalAttrs.passthru.optional-dependencies.plot;
pythonImportsCheck = [ "cantools" ];
meta = {
description = "Tools to work with CAN bus";
homepage = "https://github.com/cantools/cantools";
changelog = "https://github.com/cantools/cantools/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ gray-heron ];
mainProgram = "cantools";
};
})