Something went wrong. Try again.
lol
Something went wrong. Try again.
883 B · 42 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, canmatrix, fetchPypi, pytestCheckHook, python-can, setuptools-scm,}:
buildPythonPackage rec { pname = "canopen"; version = "2.4.1"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-IKhLxJizTa3XnOzkZ9O74ZWRwcAqjzkzG8xgZcTYsus="; };
__darwinAllowLocalNetworking = true;
build-system = [ setuptools-scm ];
dependencies = [ python-can ];
optional-dependencies = { db_export = [ canmatrix ]; };
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "canopen" ];
meta = { description = "CANopen stack implementation"; homepage = "https://github.com/christiansandberg/canopen/"; changelog = "https://github.com/christiansandberg/canopen/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sorki ]; };}