diff options
| author | bdunahu <bdunahu@operationnull.com> | 2026-06-07 20:15:46 -0400 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2026-06-23 10:45:06 +0900 |
| commit | d73367a9706cabe4ef8971a7ec970e785b9dd8a1 (patch) | |
| tree | 18f759907bc22bdc891973dd2344a6225d32c288 | |
| parent | af5526ac3b0742dfb158ea09e9fe4ec0e1240b07 (diff) | |
gnu: Add libplum.
* gnu/packages/networking.scm (libplum): New variable.
Merges: https://codeberg.org/guix/guix/pulls/9141
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
| -rw-r--r-- | gnu/packages/networking.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 31a08e22837..6ef01d1c175 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm | |||
| @@ -72,6 +72,7 @@ | |||
| 72 | ;;; Copyright © 2025, 2026 Ashish SHUKLA <ashish.is@lostca.se> | 72 | ;;; Copyright © 2025, 2026 Ashish SHUKLA <ashish.is@lostca.se> |
| 73 | ;;; Copyright © 2025 Jared Klingenberger <jkling@noreply.codeberg.org> | 73 | ;;; Copyright © 2025 Jared Klingenberger <jkling@noreply.codeberg.org> |
| 74 | ;;; Copyright © 2026 Carlos Durán Domínguez <wurt@wurt.eu> | 74 | ;;; Copyright © 2026 Carlos Durán Domínguez <wurt@wurt.eu> |
| 75 | ;;; Copyright © 2026 bdunahu <bdunahu@operationnull.com> | ||
| 75 | ;;; | 76 | ;;; |
| 76 | ;;; This file is part of GNU Guix. | 77 | ;;; This file is part of GNU Guix. |
| 77 | ;;; | 78 | ;;; |
| @@ -664,6 +665,42 @@ GLib-based library, libnice, as well as GStreamer elements to use it.") | |||
| 664 | license:lgpl2.1+ | 665 | license:lgpl2.1+ |
| 665 | license:mpl1.1)))) | 666 | license:mpl1.1)))) |
| 666 | 667 | ||
| 668 | (define-public libplum | ||
| 669 | (package | ||
| 670 | (name "libplum") | ||
| 671 | (version "0.6.0") | ||
| 672 | (source | ||
| 673 | (origin | ||
| 674 | (method git-fetch) | ||
| 675 | (uri (git-reference | ||
| 676 | (url "https://github.com/paullouisageneau/libplum") | ||
| 677 | (commit (string-append "v" version)))) | ||
| 678 | (file-name (git-file-name name version)) | ||
| 679 | (sha256 | ||
| 680 | (base32 "156088n8x4qh6wsz5jb2mhsxv1sxn5i4f2axiqqs3agb29h5sp2q")))) | ||
| 681 | (build-system cmake-build-system) | ||
| 682 | (arguments | ||
| 683 | (list | ||
| 684 | #:phases | ||
| 685 | #~(modify-phases %standard-phases | ||
| 686 | (replace 'check | ||
| 687 | ;; No tests, use the example as a test. | ||
| 688 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 689 | ;; Binds ports and simulates network magic. | ||
| 690 | (when tests? (invoke "../build/example"))))))) | ||
| 691 | (home-page "https://github.com/paullouisageneau/libplum") | ||
| 692 | (synopsis "Multi-protocol Port Mapping client library") | ||
| 693 | (description "libplum (Port Lightweight and Universal Mapping) is a | ||
| 694 | high-level library which allows forwarding ports on Network Address | ||
| 695 | Translators (NAT). Under the hood, it implements multiple protocols and | ||
| 696 | automatically detects which one to use: | ||
| 697 | @itemize | ||
| 698 | @item Port Control Protocol (PCP) | ||
| 699 | @item NAT Port Mapping Protocol (NAT-PMP) | ||
| 700 | @item UPnP Internet Gateway Device Protocol (UPnP-IGD) | ||
| 701 | @end itemize") | ||
| 702 | (license license:mpl2.0))) | ||
| 703 | |||
| 667 | (define-public librecast | 704 | (define-public librecast |
| 668 | (package | 705 | (package |
| 669 | (name "librecast") | 706 | (name "librecast") |
