lol
1{ lib
2, buildPythonApplication
3, fetchPypi
4, stdenv
5, click
6, coloredlogs
7, psutil
8, pycyphal
9, pyserial
10, ruamel-yaml
11, requests
12, scipy
13, simplejson
14}:
15
16buildPythonApplication rec {
17 pname = "yakut";
18 version = "0.13.0";
19 format = "setuptools";
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-MBVSt01D36rBPW2bopujyu8Opwwavmm7S3tdaWp5ACw=";
24 };
25
26 buildInputs = [
27 stdenv.cc.cc.lib
28 click
29 coloredlogs
30 psutil
31 pycyphal
32 pyserial
33 ruamel-yaml
34 requests
35 scipy
36 simplejson
37 ];
38
39 # Can't seem to run the tests on nix
40 doCheck = false;
41
42 meta = with lib; {
43 description = "Simple CLI tool for diagnostics and debugging of Cyphal networks";
44 longDescription = ''
45 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.
46 '';
47 homepage = "https://github.com/OpenCyphal/yakut/";
48 license = licenses.mit;
49 maintainers = teams.ororatech.members;
50 };
51}