python3Packages.cantools: init at 38.0.2

This commit is contained in:
Cezary Siwek
2023-09-12 11:40:40 +02:00
parent 488029904f
commit 52de239082
2 changed files with 60 additions and 0 deletions
@@ -0,0 +1,58 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, argparse-addons
, bitstruct
, can
, crccheck
, diskcache
, matplotlib
, parameterized
, pytestCheckHook
, pythonOlder
, textparser
}:
buildPythonPackage rec {
pname = "cantools";
version = "38.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-k7/m9L1lLzaXY+qRYrAnpi9CSoQA8kI9QRN5GM5oxo4=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
argparse-addons
bitstruct
can
crccheck
diskcache
matplotlib
textparser
];
nativeCheckInputs = [
parameterized
pytestCheckHook
];
pythonImportsCheck = [
"cantools"
];
meta = with lib; {
homepage = "https://github.com/cantools/cantools";
description = "CAN bus tools.";
license = licenses.mit;
maintainers = with maintainers; [ gray-heron ];
};
}
+2
View File
@@ -1685,6 +1685,8 @@ self: super: with self; {
canopen = callPackage ../development/python-modules/canopen { };
cantools = callPackage ../development/python-modules/cantools { };
camelot = callPackage ../development/python-modules/camelot { };
capstone = callPackage ../development/python-modules/capstone {