summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/cantools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/cantools/default.nix')
-rw-r--r--pkgs/development/python-modules/cantools/default.nix39
1 files changed, 18 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/cantools/default.nix b/pkgs/development/python-modules/cantools/default.nix
index 2b87d4de37ea..8aacef138db7 100644
--- a/pkgs/development/python-modules/cantools/default.nix
+++ b/pkgs/development/python-modules/cantools/default.nix
@@ -1,18 +1,19 @@
-{ lib
-, argparse-addons
-, bitstruct
-, buildPythonPackage
-, can
-, crccheck
-, diskcache
-, fetchPypi
-, matplotlib
-, parameterized
-, pytestCheckHook
-, pythonOlder
-, setuptools
-, setuptools-scm
-, textparser
+{
+ lib,
+ argparse-addons,
+ bitstruct,
+ buildPythonPackage,
+ can,
+ crccheck,
+ diskcache,
+ fetchPypi,
+ matplotlib,
+ parameterized,
+ pytestCheckHook,
+ pythonOlder,
+ setuptools,
+ setuptools-scm,
+ textparser,
}:
buildPythonPackage rec {
@@ -41,18 +42,14 @@ buildPythonPackage rec {
textparser
];
- passthru.optional-dependencies.plot = [
- matplotlib
- ];
+ passthru.optional-dependencies.plot = [ matplotlib ];
nativeCheckInputs = [
parameterized
pytestCheckHook
] ++ passthru.optional-dependencies.plot;
- pythonImportsCheck = [
- "cantools"
- ];
+ pythonImportsCheck = [ "cantools" ];
meta = with lib; {
description = "Tools to work with CAN bus";