python3Packages.can-isotp: init at 2.0.6 (#341270)

This commit is contained in:
OTABI Tomoya 2024-10-07 22:07:20 +09:00 committed by GitHub
commit 47d95049c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 60 additions and 0 deletions

View File

@ -9477,6 +9477,13 @@
githubId = 7558482; githubId = 7558482;
name = "Jack Gerrits"; name = "Jack Gerrits";
}; };
jacobkoziej = {
name = "Jacob Koziej";
email = "jacobkoziej@gmail.com";
github = "jacobkoziej";
githubId = 45084216;
keys = [ { fingerprint = "1BF9 8D10 E0D0 0B41 5723 5836 4C13 3A84 E646 9228"; } ];
};
jaduff = { jaduff = {
email = "jdduffpublic@proton.me"; email = "jdduffpublic@proton.me";
github = "jaduff"; github = "jaduff";

View File

@ -0,0 +1,51 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "can-isotp";
version = "2.0.6";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pylessard";
repo = "python-can-isotp";
rev = "refs/tags/v${version}";
hash = "sha256-wfZMVfLBdYkFbb0DiDWmGaraykJ/QL64Zkl2/nBu4lY=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [
# we don't support socket tests
"test/test_can_stack.py"
"test/test_layer_vs_socket.py"
"test/test_socket.py"
# behaves inconsistently due to timing
"test/test_transport_layer.py"
"test/test_helper_classes.py"
];
pythonImportsCheck = [ "isotp" ];
meta = with lib; {
description = "Python package that provides support for ISO-TP (ISO-15765) protocol";
homepage = "https://github.com/pylessard/python-can-isotp";
changelog = "https://github.com/pylessard/python-can-isotp/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [
jacobkoziej
];
};
}

View File

@ -1988,6 +1988,8 @@ self: super: with self; {
camel-converter = callPackage ../development/python-modules/camel-converter { }; camel-converter = callPackage ../development/python-modules/camel-converter { };
can-isotp = callPackage ../development/python-modules/can-isotp { };
canals = callPackage ../development/python-modules/canals { }; canals = callPackage ../development/python-modules/canals { };
canmatrix = callPackage ../development/python-modules/canmatrix { }; canmatrix = callPackage ../development/python-modules/canmatrix { };