mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 15:37:54 -05:00
gnu: Add libyang
* gnu/packages/networking.scm (libyang): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
3c21da7c79
commit
b78202f8a8
1 changed files with 27 additions and 0 deletions
|
@ -3519,6 +3519,33 @@ (define-public iwd
|
|||
maximum extent possible.")
|
||||
(license license:lgpl2.1+)))
|
||||
|
||||
(define-public libyang
|
||||
(package
|
||||
(name "libyang")
|
||||
(version "1.0.215")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/CESNET/libyang")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0mrs2ppmq77z8sbqgm2w0rl9bfgybd6bcxanakfww4chih6cy0dw"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
(list "-DENABLE_BUILD_TESTS=ON" "-DENABLE_LYD_PRIV=ON")))
|
||||
(propagated-inputs `(("pcre" ,pcre)))
|
||||
(native-inputs `(("cmocka" ,cmocka)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(home-page "https://github.com/CESNET/libyang")
|
||||
(synopsis "YANG data modelling language library")
|
||||
(description "libyang is a YANG data modelling language parser and toolkit
|
||||
written (and providing API) in C. Current implementation covers YANG 1.0 (RFC
|
||||
6020) as well as YANG 1.1 (RFC 7950).")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public batctl
|
||||
(package
|
||||
(name "batctl")
|
||||
|
|
Loading…
Reference in a new issue