mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #287543 from OroraTech/chore/remove-pyuavcan
python312Packages.pyuavcan: remove deprecated package
This commit is contained in:
commit
ebddbb71b1
3 changed files with 1 additions and 62 deletions
|
@ -1,51 +0,0 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, numpy, nunavut
|
||||
, pyserial , pytest, ruamel-yaml}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyuavcan";
|
||||
version = "1.1.0.dev1";
|
||||
format = "setuptools";
|
||||
disabled = pythonOlder "3.7"; # only python>=3.7 is supported
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "UAVCAN";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-ChNoYHuZulPLrxYvxeVO9Tyt8rymlk3p/OkYaG2rqzo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
nunavut
|
||||
pyserial
|
||||
pytest
|
||||
ruamel-yaml
|
||||
];
|
||||
|
||||
# allow for writable directory for darwin
|
||||
preBuild = ''
|
||||
export HOME=$TMPDIR
|
||||
export PYTHONASYNCIODEBUG=1
|
||||
'';
|
||||
|
||||
# tests fail ATM.
|
||||
doCheck = false;
|
||||
|
||||
# check at least that import works, as tests fail
|
||||
pythonImportsCheck = [
|
||||
"pyuavcan"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A full-featured implementation of the UAVCAN protocol stack";
|
||||
longDescription = ''
|
||||
It is intended for non-embedded, user-facing applications such as GUI
|
||||
software, diagnostic tools, automation scripts, prototypes, and various
|
||||
R&D cases. PyUAVCAN consists of a Python library (package) and a simple
|
||||
CLI tool for basic diagnostics and shell script automation.
|
||||
'';
|
||||
homepage = "https://pyuavcan.readthedocs.io";
|
||||
maintainers = with maintainers; [ wucke13 ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -413,6 +413,7 @@ mapAliases ({
|
|||
pytorchWithCuda = torchWithCuda; # added 2022-09-30
|
||||
pytorchWithoutCuda = torchWithoutCuda; # added 2022-09-30
|
||||
pytwitchapi = twitchapi; # added 2022-03-07
|
||||
pyuavcan = throw "pyuavcan has been renamed to pycyphal and the old package deprecated, use pycyphal instead"; # added 2024-02-09
|
||||
pyvcf = throw "pyvcf has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2023-05-19
|
||||
PyVirtualDisplay = pyvirtualdisplay; # added 2023-02-19
|
||||
pywick = throw "pywick has been removed, since it is no longer maintained"; # added 2023-07-01
|
||||
|
|
|
@ -12128,17 +12128,6 @@ self: super: with self; {
|
|||
|
||||
pyu2f = callPackage ../development/python-modules/pyu2f { };
|
||||
|
||||
pyuavcan = callPackage
|
||||
../development/python-modules/pyuavcan { # this version pinpoint to anold version is necessary due to a regression
|
||||
nunavut = self.nunavut.overridePythonAttrs (old: rec {
|
||||
version = "0.2.3";
|
||||
src = old.src.override {
|
||||
inherit version;
|
||||
hash = "sha256-pZtRUvQMpqrnW5+8umsRcNhF9NJZJZ3I9yILVglMCnU=";
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
pyudev = callPackage ../development/python-modules/pyudev {
|
||||
inherit (pkgs) udev;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue