diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2018-05-21 02:33:28 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2018-05-21 02:33:28 +0200 |
commit | f1656a59f438e36925809246ea693ff97ee28592 (patch) | |
tree | 413b999ce2752e38ffc586cbcd9bf35b3aa21ff2 /gnu/packages/networking.scm | |
parent | 5a9dc4a8074cde2fec3ecc7ea71f2e976c8c38c0 (diff) | |
download | guix-f1656a59f438e36925809246ea693ff97ee28592.tar guix-f1656a59f438e36925809246ea693ff97ee28592.tar.gz |
gnu: Add can-utils.
* gnu/packages/networking.scm (can-utils): New variable.
Diffstat (limited to 'gnu/packages/networking.scm')
-rw-r--r-- | gnu/packages/networking.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 7e69a48b84..9793620e14 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1802,3 +1802,42 @@ networks using zeromq. It has these key characteristics: @end itemize") (home-page "https://github.com/zeromq/zyre") (license license:mpl2.0))) + +(define-public can-utils + (package + (name "can-utils") + (version "2018.02.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/linux-can/can-utils.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0r0zkm67bdcmbfypjr7z041d4zp0xzb379dyl8cvhmflh12fd2jb")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; No tests exist. + #:make-flags (list "CC=gcc" + (string-append "PREFIX=" + (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (home-page "https://github.com/linux-can/can-utils") + (synopsis "CAN utilities") + (description "This package provides CAN utilities in the following areas: + +@itemize +@item Basic tools to display, record, generate and replay CAN traffic +@item CAN access via IP sockets +@item CAN in-kernel gateway configuration +@item CAN bus measurement and testing +@item ISO-TP (ISO15765-2:2016 - this means messages with a body larger than +eight bytes) tools +@item Log file converters +@item Serial Line Discipline configuration for slcan driver +@end itemize") + ;; Either BSD-3 or GPL-2 can be used. + (license (list license:bsd-3 license:gpl2)))) |