biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / canopen / default.nix
blob320dfd776b2da7c3eab22ecf636c86a3d53e0e46
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   setuptools-scm,
6   python-can,
7   canmatrix,
8   pytestCheckHook,
9   pythonOlder,
12 buildPythonPackage rec {
13   pname = "canopen";
14   version = "2.3.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-eSCEqTwTjVsqQG3dLU61ziCPA72P2mD4GtK7jVbGuCc=";
22   };
24   nativeBuildInputs = [ setuptools-scm ];
26   propagatedBuildInputs = [
27     python-can
28     canmatrix
29   ];
31   nativeCheckInputs = [ pytestCheckHook ];
33   pythonImportsCheck = [ "canopen" ];
35   meta = with lib; {
36     description = "CANopen stack implementation";
37     homepage = "https://github.com/christiansandberg/canopen/";
38     changelog = "https://github.com/christiansandberg/canopen/releases/tag/v${version}";
39     license = licenses.mit;
40     maintainers = with maintainers; [ sorki ];
41   };