From patchwork Tue Dec 29 10:20:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 26092 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8F9E327BC05; Tue, 29 Dec 2020 10:21:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4B47C27BC04 for ; Tue, 29 Dec 2020 10:21:10 +0000 (GMT) Received: from localhost ([::1]:55396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kuC7p-0006Pk-GV for patchwork@mira.cbaines.net; Tue, 29 Dec 2020 05:21:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuC7i-0006PL-Pn for guix-patches@gnu.org; Tue, 29 Dec 2020 05:21:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54370) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kuC7i-0000Zt-IN for guix-patches@gnu.org; Tue, 29 Dec 2020 05:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kuC7i-0004mo-Ed for guix-patches@gnu.org; Tue, 29 Dec 2020 05:21:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45523] [PATCH 1/2] gnu: Add libyang References: In-Reply-To: Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Dec 2020 10:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45523 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45523@debbugs.gnu.org Received: via spool by 45523-submit@debbugs.gnu.org id=B45523.160923725018344 (code B ref 45523); Tue, 29 Dec 2020 10:21:02 +0000 Received: (at 45523) by debbugs.gnu.org; 29 Dec 2020 10:20:50 +0000 Received: from localhost ([127.0.0.1]:37676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuC7W-0004lo-Im for submit@debbugs.gnu.org; Tue, 29 Dec 2020 05:20:50 -0500 Received: from mail-wr1-f47.google.com ([209.85.221.47]:39214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuC7T-0004lT-C8 for 45523@debbugs.gnu.org; Tue, 29 Dec 2020 05:20:48 -0500 Received: by mail-wr1-f47.google.com with SMTP id c5so14195009wrp.6 for <45523@debbugs.gnu.org>; Tue, 29 Dec 2020 02:20:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EDCpi+rNhgdT0foMGURtkPoBdLJaLTnWhX0ParqJw2I=; b=eLA2F/LRJXlS2zcnbCUiD/lou3y5djSJkDtnh8S2yUbnM8GaWBhbsNw3W90tZZ93Kg Tyg41MGZrRiuqFYR6LL/2g4nkU+7rCZpQL/i0YG2oXvX7FHJAlYBnqJ97dZIOW2Z+GN3 4mSCZ7MnXi6V2hOqPjM///4hZzv2CXn36SkZSEpAUCwPXcbw8cJ3Eu2fdiKU6GD5V5yS 0hOVYs6JUOG5Qh+Znaw7+R3B14ftjFPmqnJs+2XA1QzZyo1IkIgRzPDbGfr9QIY8Fw/R YtsSFv9/Q99hSNjrOlPA2xAy1BXu8NOjY9O5oeNeT7SECPn0Bamvh6xMmIXIJD1UXQcJ FEsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EDCpi+rNhgdT0foMGURtkPoBdLJaLTnWhX0ParqJw2I=; b=WsNzPqtBQgTIt02okHrVwExwJ8b8t49X9BaOYWlVAe94162ix7l8fjrvRdVSxA/jzb mjOyRFADw8KYEdChyKBWOzfQ6yaSLcVKTR2MIlx9nq3ud/qgskQb1JMusQ96oTyt62B6 IFZt/cTtQyKtBJ1e2lAe2j3zwgm3OXXjJnLh33qKQG5S0B1KGSX2TG0Tptwm45LvyfXm dImVKHWunfIR0ysTf/ZpKy9uB2RhHTkOnf55fnzPdG6waa+loT7GqAqSgcv/bYHTXTK6 yqeN8W1DvcTo6K7NtW1Yurz5aTWh5byllgPy6UjaVjb8GxWBKDAp1FsFVgYuAk8y7Qni xwfA== X-Gm-Message-State: AOAM533FIcKn+yiLR9RHMnVXNnn0gVk22HzuTAbhrvK6VO8/j+pFvuYL O7ppN/D1xddn9kB3uFHj91xKh0YmquY= X-Google-Smtp-Source: ABdhPJzC5IEdfK7ou3+fF4Vn2huDEqKRyCGPmoaX78VjpB5ykGfx/y3wMY1SF771oNrW2srhOjGPHQ== X-Received: by 2002:adf:97ce:: with SMTP id t14mr55202436wrb.368.1609237241456; Tue, 29 Dec 2020 02:20:41 -0800 (PST) Received: from localhost.localdomain (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id t1sm63230305wro.27.2020.12.29.02.20.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Dec 2020 02:20:40 -0800 (PST) From: Vincent Legoll Date: Tue, 29 Dec 2020 11:20:30 +0100 Message-Id: <20201229102031.10797-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vincent Legoll Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 30b17da069..0b19ab87d0 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -3509,6 +3509,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"))) + (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")