22 buildPythonPackage rec {
27 disabled = pythonOlder "3.7";
29 src = fetchFromGitHub {
33 hash = "sha256-UUJnLVt+uOj8Eav162btprkUeTemItGrSnBBB9UhJJI=";
37 # Remove vendorized versioneer.py
41 build-system = [ setuptools ];
43 nativeBuildInputs = [ versioneer ];
50 ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
52 optional-dependencies = {
68 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
71 # long_envvar_name_imports requires stable key value pair ordering
75 disabledTests = [ "long_envvar_name_imports" ];
77 pythonImportsCheck = [ "canmatrix" ];
80 description = "Support and convert several CAN (Controller Area Network) database formats";
81 homepage = "https://github.com/ebroecker/canmatrix";
82 changelog = "https://github.com/ebroecker/canmatrix/releases/tag/${version}";
83 license = licenses.bsd2;
84 maintainers = with maintainers; [ sorki ];