mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: libbpf: Reintroduce 0.8.1.
This version was removed in 12d2a6e5a6
.
* gnu/packages/linux.scm (libbpf-0.8): New variable.
Change-Id: I99a323667ce86671caf3fc0227379fbba073c0a1
This commit is contained in:
parent
c9f00f04c6
commit
5245e081fc
1 changed files with 30 additions and 0 deletions
|
@ -10018,6 +10018,36 @@ (define-public libbpf
|
|||
headers.")
|
||||
(license (list license:lgpl2.1 license:bsd-2))))
|
||||
|
||||
(define-public libbpf-0.8
|
||||
(package
|
||||
(inherit libbpf)
|
||||
(name "libbpf")
|
||||
(version "0.8.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/libbpf/libbpf")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1zzpkk4x3f20483dzw43b3ml03d63vvkmqf4j8y3b61b67wm59bm"))))
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ;self-tests run in QEMU
|
||||
#:make-flags
|
||||
#~(list (string-append "PREFIX=" #$output)
|
||||
(string-append "LIBDIR=$(PREFIX)/lib")
|
||||
(string-append "CC=" #$(cc-for-target)))
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-before 'build 'pre-build
|
||||
(lambda _
|
||||
(chdir "src"))))))
|
||||
(native-inputs (list pkg-config))
|
||||
(propagated-inputs (list elfutils zlib)))) ;in Requires.private of libbpf.pc
|
||||
|
||||
(define-public bcc
|
||||
(package
|
||||
(name "bcc")
|
||||
|
|
Loading…
Reference in a new issue