summary refs log tree commit diff
path: root/pkgs/development/tools/misc/yakut/default.nix
blob: 4c993c19cdcf5b26c61e05316bcf951cbd652e2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{ lib
, buildPythonApplication
, fetchPypi
, stdenv
, click
, coloredlogs
, psutil
, pycyphal
, pyserial
, ruamel-yaml
, requests
, scipy
, simplejson
}:

buildPythonApplication rec {
  pname = "yakut";
  version = "0.13.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-MBVSt01D36rBPW2bopujyu8Opwwavmm7S3tdaWp5ACw=";
  };

  buildInputs = [
    stdenv.cc.cc.lib
    click
    coloredlogs
    psutil
    pycyphal
    pyserial
    ruamel-yaml
    requests
    scipy
    simplejson
  ];

  # Can't seem to run the tests on nix
  doCheck = false;

  meta = with lib; {
    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 = licenses.mit;
    maintainers = [ teams.ororatech ];
  };
}