depot/third_party/nixpkgs/pkgs/development/tools/misc/yakut/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

51 lines
1.2 KiB
Nix

{ 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.members;
};
}