mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
52 lines
1.3 KiB
Nix
52 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
python3Packages,
|
|
fetchPypi,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "yakut";
|
|
version = "0.14.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Z/lzUZwUKQne0iGRPvXiATPgegoSbNE4GBgU+i6H5q0=";
|
|
};
|
|
|
|
buildInputs = [
|
|
(lib.getLib stdenv.cc.cc)
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
click
|
|
coloredlogs
|
|
psutil
|
|
pycyphal
|
|
ruamel-yaml
|
|
requests
|
|
scipy
|
|
simplejson
|
|
];
|
|
|
|
optional-dependencies.joystick = with python3Packages; [
|
|
pysdl2
|
|
mido
|
|
python-rtmidi
|
|
];
|
|
|
|
# All these require extra permissions and/or actual hardware connected
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Simple CLI tool for diagnostics and debugging of Cyphal networks";
|
|
longDescription = ''
|
|
Yakút is a simple cross-platform command-line interface (CLI) tool for diagnostics and debugging of Cyphal networks. By virtue of being based on PyCyphal, Yakut supports all Cyphal transports (UDP, serial, CAN, ...) and is compatible with all major features of the protocol. It is designed to be usable with GNU/Linux, Windows, and macOS.
|
|
'';
|
|
homepage = "https://github.com/OpenCyphal/yakut/";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ kip93 ];
|
|
};
|
|
}
|