~ruther/guix-local

9366217997d759a4150cf5e44d83b947ac2028ab — Artyom V. Poptsov 1 year, 2 months ago 285a1cb
gnu: Add mbpoll.

* gnu/packages/engineering.scm (mbpoll): New variable.

Change-Id: I356425b47ae4a5201465c9f1e0244602a1cf9dc2
1 files changed, 27 insertions(+), 0 deletions(-)

M gnu/packages/engineering.scm
M gnu/packages/engineering.scm => gnu/packages/engineering.scm +27 -0
@@ 244,6 244,33 @@ their devices.")
plans and designs.")
    (license license:gpl2)))

(define-public mbpoll
  (package
    (name "mbpoll")
    (version "1.5.2")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/epsilonrt/mbpoll")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0h5qsgy5hkrq92nxfkl564w21g5vp9nnch04fdqij06ckvzf7vdc"))))
    (build-system cmake-build-system)
    (arguments
     (list
      #:tests? #f)) ;no tests
    (native-inputs (list pkg-config))
    (inputs (list libmodbus))
    (home-page "https://github.com/epsilonrt/mbpoll")
    (synopsis
     "Command line utility to communicate with ModBus slave (RTU or TCP)")
    (description
     "@code{mbpoll} is a command line utility to communicate with
@url{https://en.wikipedia.org/wiki/Modbus, ModBus} slave (RTU or TCP).")
    (license license:gpl3)))

(define-public geda-gaf
  (package
    (name "geda-gaf")