guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates-frozen updated: gnu: Add libnftnl/fixed.


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: Add libnftnl/fixed.
Date: Sun, 05 Dec 2021 16:26:39 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new 0f2a77e  gnu: Add libnftnl/fixed.
0f2a77e is described below

commit 0f2a77e14f8080a9f158f75d2634664565e81173
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Dec 5 22:26:26 2021 +0100

    gnu: Add libnftnl/fixed.
    
    * gnu/packages/linux.scm (libnftnl/fixed): New variable.
---
 gnu/packages/linux.scm | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a8c48f1..b41c2d5 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2656,7 +2656,7 @@ external rate conversion.")
        ("bison" ,bison)))
     (inputs
      `(("libmnl" ,libmnl)
-       ("libnftnl" ,libnftnl)))
+       ("libnftnl" ,libnftnl/fixed)))
     (arguments
      '(#:tests? #f       ; no test suite
        #:configure-flags ; add $libdir to the RUNPATH of executables
@@ -7074,6 +7074,24 @@ libnftnl has been previously known as libnftables.  This 
library is currently
 used by nftables.")
     (license license:gpl2+)))
 
+;; This is used in iptables, which contributes to rust.  We're pinning this
+;; variant to avoid accidental rebuilds of rust.
+(define-public libnftnl/fixed
+  (package (inherit libnftnl)
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://netfilter.org/libnftnl/"
+                           "libnftnl-" version ".tar.bz2"))
+       (sha256
+        (base32 "1xblq1cbcxhr6qmjpy98i1qdza148idgz99vbhjc7s4vzvfizc4h"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libmnl" ,libmnl)))))
+
 (define-public nftables
   (package
     (name "nftables")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]