mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-22 10:39:39 -05:00
gnu: Add libnftnl/fixed.
* gnu/packages/linux.scm (libnftnl/fixed): New variable.
This commit is contained in:
parent
9bc0f45df5
commit
0f2a77e14f
1 changed files with 19 additions and 1 deletions
|
@ -2656,7 +2656,7 @@ (define-public iptables
|
|||
("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 @@ (define-public libnftnl
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue