mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-30 16:12:58 -05:00
gnu: Add librecast.
* gnu/packages/networking.scm (librecast): New variable.
This commit is contained in:
parent
24ec1b5a20
commit
78b81bf951
1 changed files with 50 additions and 0 deletions
|
@ -419,6 +419,56 @@ (define-public libnice
|
|||
license:lgpl2.1+
|
||||
license:mpl1.1)))))
|
||||
|
||||
(define-public librecast
|
||||
(package
|
||||
(name "librecast")
|
||||
(version "0.5.1")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://codeberg.org/librecast/librecast")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1zzdxawzsj0lxyxm8c2wdqx3b633f8ybvlg6szs4v0y42xg4a829"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:parallel-tests? #f
|
||||
#:make-flags (let ((target ,(%current-target-system)))
|
||||
(list ,(string-append "CC="
|
||||
(cc-for-target))
|
||||
(string-append "PREFIX="
|
||||
(assoc-ref %outputs "out"))))
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-before 'check 'remove-network-tests
|
||||
(lambda _
|
||||
;; these tests require networking
|
||||
(delete-file "./test/0000-0010.c")
|
||||
(delete-file "./test/0000-0012.c")
|
||||
(delete-file "./test/0000-0013.c")
|
||||
(delete-file "./test/0000-0014.c")
|
||||
(delete-file "./test/0000-0015.c")
|
||||
(delete-file "./test/0000-0016.c")
|
||||
(delete-file "./test/0000-0018.c")
|
||||
(delete-file "./test/0000-0019.c")
|
||||
(delete-file "./test/0000-0021.c")
|
||||
(delete-file "./test/0000-0028.c")
|
||||
(delete-file "./test/0000-0036.c")
|
||||
(delete-file "./test/0000-0037.c")
|
||||
(delete-file "./test/0000-0038.c")
|
||||
(delete-file "./test/0000-0039.c")
|
||||
(delete-file "./test/0000-0040.c")))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "make" "test"))))))
|
||||
(inputs (list libsodium lcrq))
|
||||
(synopsis "librecast IPv6 multicast library")
|
||||
(description "Librecast is a C library which supports IPv6 multicast
|
||||
networking.")
|
||||
(home-page "https://librecast.net/librecast.html")
|
||||
(license (list license:gpl2 license:gpl3))))
|
||||
|
||||
(define-public rtmpdump
|
||||
;; There are no tags in the repository, and the project is unlikely to
|
||||
;; make new releases. Take a recent commit for multiple security fixes
|
||||
|
|
Loading…
Reference in a new issue