From: Vincent Legoll <vincent.legoll@gmail.com>
To: 45523@debbugs.gnu.org
Cc: Vincent Legoll <vincent.legoll@gmail.com>
Subject: [bug#45523] [PATCH 1/2] gnu: Add libyang
Date: Tue, 5 Jan 2021 11:57:27 +0100 [thread overview]
Message-ID: <20210105105728.11441-1-vincent.legoll@gmail.com> (raw)
In-Reply-To: <CAEwRq=ofLk7kYYM5uV6srU8Ce6cF7W+xVwQa50Ah2tGEVX7Y7Q@mail.gmail.com>
* gnu/packages/networking.scm (libyang): New variable.
---
gnu/packages/networking.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index fad917a7c0..fec0341147 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3508,6 +3508,33 @@ libraries and instead utilizing features provided by the Linux kernel to the
maximum extent possible.")
(license license:lgpl2.1+)))
+(define-public libyang
+ (package
+ (name "libyang")
+ (version "1.0.184")
+ (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
+ "00vzka0bdlx1znd06fb0ps0szigdm2x96bpdfx220x79jr9qywhx"))))
+ (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")
--
2.29.2
next prev parent reply other threads:[~2021-01-05 10:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-29 10:17 [bug#45523] [PATCH 0/2] Update for frrouting & add libyang Vincent Legoll
2020-12-29 10:20 ` [bug#45523] [PATCH 1/2] gnu: Add libyang Vincent Legoll
2020-12-29 10:20 ` [bug#45523] [PATCH 2/2] gnu: frrouting: Update to 7.5 Vincent Legoll
2020-12-31 0:11 ` [bug#45523] [PATCH 0/2] Update for frrouting & add libyang Leo Famulari
2021-01-05 10:57 ` Vincent Legoll [this message]
2021-01-05 10:57 ` [bug#45523] [PATCH 2/2] gnu: frrouting: Update to 7.5 Vincent Legoll
2021-02-20 18:49 ` [bug#45523] [PATCH 1/2] gnu: Add libyang Leo Famulari
2021-02-20 19:02 ` Vincent Legoll
2021-02-20 23:04 ` bug#45523: " Leo Famulari
2021-01-05 11:00 ` [bug#45523] new patch set Vincent Legoll
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210105105728.11441-1-vincent.legoll@gmail.com \
--to=vincent.legoll@gmail.com \
--cc=45523@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).