···11-{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, numpy, nunavut
22-, pyserial , pytest, ruamel-yaml}:
33-44- buildPythonPackage rec {
55- pname = "pyuavcan";
66- version = "1.1.0.dev1";
77- format = "setuptools";
88- disabled = pythonOlder "3.7"; # only python>=3.7 is supported
99-1010- src = fetchFromGitHub {
1111- owner = "UAVCAN";
1212- repo = pname;
1313- rev = version;
1414- hash = "sha256-ChNoYHuZulPLrxYvxeVO9Tyt8rymlk3p/OkYaG2rqzo=";
1515- };
1616-1717- propagatedBuildInputs = [
1818- numpy
1919- nunavut
2020- pyserial
2121- pytest
2222- ruamel-yaml
2323- ];
2424-2525- # allow for writable directory for darwin
2626- preBuild = ''
2727- export HOME=$TMPDIR
2828- export PYTHONASYNCIODEBUG=1
2929- '';
3030-3131- # tests fail ATM.
3232- doCheck = false;
3333-3434- # check at least that import works, as tests fail
3535- pythonImportsCheck = [
3636- "pyuavcan"
3737- ];
3838-3939- meta = with lib; {
4040- description = "A full-featured implementation of the UAVCAN protocol stack";
4141- longDescription = ''
4242- It is intended for non-embedded, user-facing applications such as GUI
4343- software, diagnostic tools, automation scripts, prototypes, and various
4444- R&D cases. PyUAVCAN consists of a Python library (package) and a simple
4545- CLI tool for basic diagnostics and shell script automation.
4646- '';
4747- homepage = "https://pyuavcan.readthedocs.io";
4848- maintainers = with maintainers; [ wucke13 ];
4949- license = licenses.mit;
5050- };
5151-}
+1
pkgs/top-level/python-aliases.nix
···413413 pytorchWithCuda = torchWithCuda; # added 2022-09-30
414414 pytorchWithoutCuda = torchWithoutCuda; # added 2022-09-30
415415 pytwitchapi = twitchapi; # added 2022-03-07
416416+ pyuavcan = throw "pyuavcan has been renamed to pycyphal and the old package deprecated, use pycyphal instead"; # added 2024-02-09
416417 pyvcf = throw "pyvcf has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2023-05-19
417418 PyVirtualDisplay = pyvirtualdisplay; # added 2023-02-19
418419 pywick = throw "pywick has been removed, since it is no longer maintained"; # added 2023-07-01
-11
pkgs/top-level/python-packages.nix
···12128121281212912129 pyu2f = callPackage ../development/python-modules/pyu2f { };
12130121301213112131- pyuavcan = callPackage
1213212132- ../development/python-modules/pyuavcan { # this version pinpoint to anold version is necessary due to a regression
1213312133- nunavut = self.nunavut.overridePythonAttrs (old: rec {
1213412134- version = "0.2.3";
1213512135- src = old.src.override {
1213612136- inherit version;
1213712137- hash = "sha256-pZtRUvQMpqrnW5+8umsRcNhF9NJZJZ3I9yILVglMCnU=";
1213812138- };
1213912139- });
1214012140- };
1214112141-1214212131 pyudev = callPackage ../development/python-modules/pyudev {
1214312132 inherit (pkgs) udev;
1214412133 };