From b7c7a61dd614beeaa9329cf5cf98561adc4f4b06 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 19 May 2021 01:40:33 +0200 Subject: [PATCH] gnu: Add guile-netlink. * gnu/package/guile-xyz.scm (guile-netlink): New variable. --- gnu/packages/guile-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 3d85b54488..4473aed79d 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -4742,3 +4742,37 @@ (define-public guile-fslib "This package contains helper functions for working with file system locations.") (license license:agpl3+))) + +(define-public guile-netlink + (package + (name "guile-netlink") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.lepiller.eu/git/guile-netlink") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "03zmsha2d7whlwb52gna83jdas9bqi18rq3sss7kkicv814qb35g")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f)); no tests + (inputs + `(("guile" ,guile-3.0))) + (native-inputs + `(("automake" ,automake) + ("autoconf" ,autoconf) + ("pkg-config" ,pkg-config) + ("texinfo" ,texinfo))) + (home-page "https://git.lepiller.eu/guile-netlink") + (synopsis "Netlink protocol implementation for Guile") + (description "Guile Netlink is a GNU Guile library providing an implementation +of the netlink protocol. + +It provides a generic library for writing implementations of a netlink +protocol, a low-level rtnetlink implementation that uses that library and a +high-level API for network management that uses rtnetlink.") + (license license:gpl3+)))