diff --git a/pkgs/development/python-modules/cantools/default.nix b/pkgs/development/python-modules/cantools/default.nix index 2fd9f9b31bab..926453d51475 100644 --- a/pkgs/development/python-modules/cantools/default.nix +++ b/pkgs/development/python-modules/cantools/default.nix @@ -9,6 +9,7 @@ fetchPypi, matplotlib, parameterized, + pytest-freezegun, pytestCheckHook, pythonOlder, setuptools, @@ -18,14 +19,14 @@ buildPythonPackage rec { pname = "cantools"; - version = "40.3.0"; + version = "40.5.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - hash = "sha256-xucuPUaMi3ECi+vPR3MFcE74F95eTWlGS/CNIoi+gSU="; + hash = "sha256-ApcGMQ2J4YZjFInW2Vlgi3xsRyfqum7KSNSatb+hsnc="; }; nativeBuildInputs = [ @@ -46,6 +47,7 @@ buildPythonPackage rec { nativeCheckInputs = [ parameterized + pytest-freezegun pytestCheckHook ] ++ optional-dependencies.plot; @@ -54,10 +56,10 @@ buildPythonPackage rec { 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 ]; + mainProgram = "cantools"; }; }